From 8d3ab4be55564547c666fe137ecc1431873eb07edb494c5f13dd60447c290bcc Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Thu, 23 Mar 2017 21:50:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=94 --- rust.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rust.spec b/rust.spec index 684de64..08ff380 100644 --- a/rust.spec +++ b/rust.spec @@ -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