summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2018-10-19 16:14:20 +0200
committerJan Horak <jhorak@redhat.com>2018-10-19 16:14:20 +0200
commit1f9f2d94c76c930edb543988131e2a6030b1ad87 (patch)
tree38bf060d733945f596c449bf7b228d3e5c28fce7
parentMerge branch 'master' into f29 (diff)
parentMerge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/firefox (diff)
downloadlibrewolf-fedora-ff-1f9f2d94c76c930edb543988131e2a6030b1ad87.tar.gz
librewolf-fedora-ff-1f9f2d94c76c930edb543988131e2a6030b1ad87.tar.bz2
librewolf-fedora-ff-1f9f2d94c76c930edb543988131e2a6030b1ad87.zip
Merge branch 'master' into f29
-rw-r--r--firefox.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 2102dc7..d9c3a2a 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -466,7 +466,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
@@ -475,7 +476,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