From f15391e07c33d4e3b3d832b8532b7725a0bbaba521c150d8af4514a27d0db4d8 Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Tue, 17 Oct 2017 08:45:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=128 --- rust.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust.spec b/rust.spec index d0107d0..0322ef1 100644 --- a/rust.spec +++ b/rust.spec @@ -247,9 +247,15 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT} %files %defattr(-,root,root,-) +%if 0%{?suse_version} == 1315 && !0{?is_opensuse} +%doc COPYRIGHT LICENSE-APACHE LICENSE-MIT +%doc src/libbacktrace/LICENSE-libbacktrace +%doc src/rt/hoedown/LICENSE-hoedown +%else %license COPYRIGHT LICENSE-APACHE LICENSE-MIT %license src/libbacktrace/LICENSE-libbacktrace %license src/rt/hoedown/LICENSE-hoedown +%endif %doc README.md %{_bindir}/rustc %{_bindir}/rustdoc