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