diff options
author | Jan Horak <jhorak@redhat.com> | 2019-01-04 14:27:42 +0100 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2019-01-04 14:27:42 +0100 |
commit | 0cf482f7572161257b322af72637242088c50e03 (patch) | |
tree | adc5f03ed21dca217de56ecc33f89ce10ecf300f /firefox.spec | |
parent | Changed locale detector to handle Esperanto (rhbz#1656900) (diff) | |
download | librewolf-fedora-ff-0cf482f7572161257b322af72637242088c50e03.tar.gz librewolf-fedora-ff-0cf482f7572161257b322af72637242088c50e03.tar.bz2 librewolf-fedora-ff-0cf482f7572161257b322af72637242088c50e03.zip |
Move cbindgen installation to the build phase
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/firefox.spec b/firefox.spec index 957f2ae..674f100 100644 --- a/firefox.spec +++ b/firefox.spec @@ -443,6 +443,9 @@ echo "ac_add_options --disable-ion" >> .mozconfig # Remove executable bit to make brp-mangle-shebangs happy. chmod -x third_party/rust/itertools/src/lib.rs +#--------------------------------------------------------------------- + +%build %if 0%{?use_bundled_cbindgen} mkdir -p my_rust_vendor @@ -459,11 +462,6 @@ directory = "`pwd`/my_rust_vendor" EOL env CARGO_HOME=.cargo cargo install cbindgen -%endif -#--------------------------------------------------------------------- - -%build -%if 0%{?use_bundled_cbindgen} export PATH=`pwd`/.cargo/bin:$PATH %endif |