summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
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