From f314ac392b68fcbf10cce4b97a8270adcf30bf0a Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 12 Feb 2020 14:07:19 +0100 Subject: Build fixes --- firefox-wayland.sh.in | 2 +- firefox-x11.sh.in | 2 +- firefox.sh.in | 2 +- firefox.spec | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/firefox-wayland.sh.in b/firefox-wayland.sh.in index ec0923d..bd68068 100644 --- a/firefox-wayland.sh.in +++ b/firefox-wayland.sh.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # # Run Firefox under Wayland # diff --git a/firefox-x11.sh.in b/firefox-x11.sh.in index 6f9f760..94045c9 100644 --- a/firefox-x11.sh.in +++ b/firefox-x11.sh.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # # Run Firefox on X11 backend # diff --git a/firefox.sh.in b/firefox.sh.in index 4fe71e4..f111801 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # # The contents of this file are subject to the Netscape Public # License Version 1.1 (the "License"); you may not use this file diff --git a/firefox.spec b/firefox.spec index 48fba14..8a8fa54 100644 --- a/firefox.spec +++ b/firefox.spec @@ -1,5 +1,5 @@ # Set to true if it's going to be submitted as update. -%global release_build 1 +%global release_build 0 %global debug_build 0 %global build_with_clang 0 %global build_with_asan 0 @@ -143,6 +143,7 @@ Patch41: build-disable-elfhack.patch Patch44: build-arm-libopus.patch #Patch45: build-disable-multijobs-rust.patch Patch46: firefox-nss-version.patch +Patch47: fedora-shebang-build.patch # Fedora specific patches Patch215: firefox-enable-addons.patch @@ -339,6 +340,7 @@ This package contains results of tests executed during build. %patch26 -p1 -b .icu %endif #%patch46 -p1 -b .nss-version +%patch47 -p1 -b .fedora-shebang # Fedora patches %patch215 -p1 -b .addons @@ -470,6 +472,7 @@ echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> . # Remove executable bit to make brp-mangle-shebangs happy. chmod -x third_party/rust/itertools/src/lib.rs chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs +chmod a-x third_party/rust/gfx-hal/src/*.rs #--------------------------------------------------------------------- -- cgit