From f9127d44bc0b1f16102b2b479b8683feb3ef2acee2f290e4ca8d07f4afa7c63d Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Wed, 15 Feb 2017 00:12:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=72 --- rust.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index 5bc1db3..c8207bb 100644 --- a/rust.spec +++ b/rust.spec @@ -181,7 +181,7 @@ 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 +%if (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300) %dir %{_datadir}/licenses %endif %license COPYRIGHT LICENSE-APACHE LICENSE-MIT @@ -215,7 +215,7 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \ %files doc %defattr(-,root,root) # The SLES-12 macros don't appear to take ownership of this directory? -%if 0%{?sle_version} <= 120300 +%if (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300) %dir %{_datadir}/licenses %endif %license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt