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

OBS-URL: https://build.opensuse.org/request/show/456358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=49
This commit is contained in:
Luke Jones 2017-02-11 05:21:44 +00:00 committed by Git OBS Bridge
parent ef63fa83b1
commit f692d29948

View File

@ -36,8 +36,6 @@
%global _arch i586
%endif
%global rust_triple %{_arch}-unknown-linux-%{abi}
# to bootstrap, change to bcond_without
%bcond_with bootstrap
Name: rust
Version: 1.15.0
Release: 0
@ -159,6 +157,7 @@ rm %{buildroot}%{_prefix}/lib/rustlib/components
rm %{buildroot}%{_prefix}/lib/rustlib/manifest-rust*
rm %{buildroot}%{_prefix}/lib/rustlib/install.log
rm %{buildroot}%{_prefix}/lib/rustlib/uninstall.sh
rm %{buildroot}%{_prefix}/lib/rustlib/rust-installer-version
# Remove lockfile to avoid errors.
rm %{buildroot}%{_docdir}/%{name}/html/.lock
@ -187,9 +186,8 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \
%{_bindir}/rustdoc
%{_mandir}/man1/rustc.1*
%{_mandir}/man1/rustdoc.1*
%{_prefix}/lib/lib*
%exclude %{_docdir}
%exclude %{_prefix}/lib/rustlib
%{_prefix}/lib/lib*.so
%exclude %{_docdir}/%{name}/html
%files std
%defattr(-,root,root)
@ -197,15 +195,16 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \
%dir %{_prefix}/lib/rustlib/%{rust_triple}
%dir %{_prefix}/lib/rustlib/%{rust_triple}/lib
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.rlib
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.so
%files gdb
%defattr(-,root,root,-)
%{_bindir}/rust-gdb
%dir %{_prefix}/lib/rustlib
%dir %{_prefix}/lib/rustlib/etc
%{_prefix}/lib/rustlib%{_sysconfdir}/debugger_pretty_printers_common.py
%{_prefix}/lib/rustlib%{_sysconfdir}/gdb_load_rust_pretty_printers.py
%{_prefix}/lib/rustlib%{_sysconfdir}/gdb_rust_pretty_printing.py
%{_prefix}/lib/rustlib/etc/debugger_pretty_printers_common.py
%{_prefix}/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
%{_prefix}/lib/rustlib/etc/gdb_rust_pretty_printing.py
%files doc
%defattr(-,root,root)