From 87264cb5b7ba80e2bef1e148ac0e82b171f76625 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 6 Feb 2018 23:26:22 -0800 Subject: [PATCH] Use full-bootstrap to work around a rebuild issue. --- rust.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index e71cbb6..fc0daea 100644 --- a/rust.spec +++ b/rust.spec @@ -48,7 +48,7 @@ Name: rust Version: 1.23.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and ISC and MIT) # ^ written as: (rust itself) and (bundled libraries) @@ -338,6 +338,10 @@ find src/vendor -name .cargo-checksum.json \ %define enable_debuginfo --enable-debuginfo --disable-debuginfo-only-std --disable-debuginfo-lines %endif +# NB: full bootstrap is needed because of a bug in local_rebuild: +# https://github.com/rust-lang/rust/issues/47469 +# (should be fixed in rust-1.25) + %configure --disable-option-checking \ --libdir=%{common_libdir} \ --build=%{rust_triple} --host=%{rust_triple} --target=%{rust_triple} \ @@ -348,6 +352,7 @@ find src/vendor -name .cargo-checksum.json \ --disable-rpath \ %{enable_debuginfo} \ --enable-vendor \ + --enable-full-bootstrap \ --release-channel=%{channel} ./x.py build @@ -474,6 +479,9 @@ rm -f %{buildroot}%{rustlibdir}/etc/lldb_*.py* %changelog +* Tue Feb 06 2018 Josh Stone - 1.23.0-3 +- Use full-bootstrap to work around a rebuild issue. + * Thu Feb 01 2018 Igor Gnatenko - 1.23.0-2 - Switch to %%ldconfig_scriptlets