From d60fb8bad245d6f07b774594707db59d1e698c5f7099f16695f32d7ec796f934 Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Tue, 14 Feb 2017 20:37:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=70 --- rust.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rust.spec b/rust.spec index ff364ee..acb0ca3 100644 --- a/rust.spec +++ b/rust.spec @@ -180,6 +180,10 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \ %files %defattr(-,root,root,-) +# The SLES-12 macros don't appear to take ownership of this directory? +%if 0%{?sle_version} <= 120300 +%dir %{_datadir}/licenses +%endif %license COPYRIGHT LICENSE-APACHE LICENSE-MIT %license src/libbacktrace/LICENSE-libbacktrace %license src/rt/hoedown/LICENSE-hoedown @@ -210,6 +214,9 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \ %files doc %defattr(-,root,root) +%if 0%{?sle_version} <= 120300 +%dir %{_datadir}/licenses +%endif %license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt %license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt %license %{_docdir}/%{name}/html/LICENSE-APACHE.txt