Accepting request 687478 from home:luke_nukem:branches:devel:languages:rust

- Explicitly build only a subset of tools

OBS-URL: https://build.opensuse.org/request/show/687478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=206
This commit is contained in:
Luke Jones 2019-03-22 00:05:38 +00:00 committed by Git OBS Bridge
parent 499261084d
commit 2bda63b681
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 00:02:26 UTC 2019 - Luke Jones <jones_ld@protonmail.com>
- Explicitly build only a subset of tools
-------------------------------------------------------------------
Sat Mar 16 01:19:22 UTC 2019 - Luke Jones <jones_ld@protonmail.com>

View File

@ -395,8 +395,8 @@ chmod +x src/libcore/unicode/printable.py
--disable-rpath \
%{debug_info} \
%{codegen_units} \
--enable-extended \
--enable-vendor \
--tools="cargo","rls","clippy","rustfmt","analysis","src" \
--release-channel="stable"
# Sometimes we may be rebuilding with the same compiler,
@ -484,9 +484,6 @@ ln -sT ../rust/html/cargo/ %{buildroot}%{_docdir}/cargo/html
install -D %{buildroot}%{_sysconfdir}/bash_completion.d/cargo %{buildroot}%{_datadir}/bash-completion/completions/cargo
# There should be nothing here at all
rm -rf %{buildroot}%{_sysconfdir}
# miri is experimental, we should not package it
rm -rf %{buildroot}%{_bindir}/miri
rm -rf %{buildroot}%{_bindir}/cargo-miri
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig