Luke Jones 2017-03-23 21:50:49 +00:00 committed by Git OBS Bridge
parent bcd4a406a1
commit 8d3ab4be55

View File

@ -115,7 +115,7 @@ Provides: rust-std = %{version}
Conflicts: rust-std <= %{version}
Conflicts: rust-std >= %{version}
%description rust-std-%{version}
%description -n rust-std-%{version}
This package includes the standard libraries for building
applications written in Rust.
@ -126,7 +126,7 @@ Provides: rust-doc = %{version}
Conflicts: rust-doc <= %{version}
Conflicts: rust-doc >= %{version}
%description rust-doc-%{version}
%description -n rust-doc-%{version}
Documentation for the Rust language.
%package -n rust-gdb-%{version}
@ -138,7 +138,7 @@ Provides: rust-gdb = %{version}
Conflicts: rust-gdb <= %{version}
Conflicts: rust-gdb >= %{version}
%description rust-gdb-%{version}
%description -n rust-gdb-%{version}
This subpackage provides pretty printers and a wrapper script for
invoking gdb on rust binaries.
@ -213,7 +213,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
%{_prefix}/lib/lib*.so
%exclude %{_docdir}/%{name}/html
%files rust-std-%{version}
%files -n rust-std-%{version}
%defattr(-,root,root)
%dir %{_prefix}/lib/rustlib
%dir %{_prefix}/lib/rustlib/%{rust_triple}
@ -221,7 +221,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.rlib
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.so
%files rust-gdb-%{version}
%files -n rust-gdb-%{version}
%defattr(-,root,root,-)
%{_bindir}/rust-gdb
%dir %{_prefix}/lib/rustlib
@ -231,7 +231,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
%{_prefix}/lib/rustlib/etc/gdb_rust_pretty_printing.py
%{_prefix}/lib/rustlib/etc/lldb_rust_formatters.py
%files rust-doc-%{version}
%files -n rust-doc-%{version}
%defattr(-,root,root)
%license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt
%license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt