summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2019-10-22 12:04:14 +0200
committerJan Horak <jhorak@redhat.com>2019-10-22 12:04:14 +0200
commita65dd614c617db34aefdf6e20ae6195e5b2186da (patch)
tree80c1bb3a56fa1b711892fc7c24784d6ff0276b96
parentrelax nss version (diff)
downloadlibrewolf-fedora-ff-a65dd614c617db34aefdf6e20ae6195e5b2186da.tar.gz
librewolf-fedora-ff-a65dd614c617db34aefdf6e20ae6195e5b2186da.tar.bz2
librewolf-fedora-ff-a65dd614c617db34aefdf6e20ae6195e5b2186da.zip
- Put cbindgen .cargo/config to separate dir to avoid overwriting original stuff
-rw-r--r--firefox.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 1c42369..873a00d 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -466,19 +466,19 @@ chmod -x third_party/rust/itertools/src/lib.rs
mkdir -p my_rust_vendor
cd my_rust_vendor
%{__tar} xf %{SOURCE2}
-cd -
mkdir -p .cargo
cat > .cargo/config <<EOL
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
-directory = "`pwd`/my_rust_vendor"
+directory = "`pwd`"
EOL
env CARGO_HOME=.cargo cargo install cbindgen
export PATH=`pwd`/.cargo/bin:$PATH
%endif
+cd -
echo "Generate big endian version of config/external/icu/data/icud58l.dat"
%if 0%{?big_endian}
bgstack15