summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2018-10-19 16:12:34 +0200
committerJan Horak <jhorak@redhat.com>2018-10-19 16:12:34 +0200
commitf2d7e6f5c2b08959c22dfbcd95ba33333d46f46b (patch)
tree8165b5e48328ad8f49fc04888cf0db3fe3ce19ab /firefox.spec
parentAdded cbindgen vendored data (diff)
downloadlibrewolf-fedora-ff-f2d7e6f5c2b08959c22dfbcd95ba33333d46f46b.tar.gz
librewolf-fedora-ff-f2d7e6f5c2b08959c22dfbcd95ba33333d46f46b.tar.bz2
librewolf-fedora-ff-f2d7e6f5c2b08959c22dfbcd95ba33333d46f46b.zip
Fixing cbindgen compilation
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 01c72f0..b757f5c 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -462,7 +462,8 @@ chmod -x third_party/rust/itertools/src/lib.rs
%if 0%{?use_bundled_cbindgen}
-cd third_party/rust
+mkdir -p my_rust_vendor
+cd my_rust_vendor
%{__tar} xf %{SOURCE2}
cd -
mkdir -p .cargo
@@ -471,7 +472,7 @@ cat > .cargo/config <<EOL
replace-with = "vendored-sources"
[source.vendored-sources]
-directory = "`pwd`/third_party/rust"
+directory = "`pwd`/my_rust_vendor"
EOL
env CARGO_HOME=.cargo cargo install cbindgen
bgstack15