diff --git a/checkmedia.spec b/checkmedia.spec index 0207c9c..fc5ee9a 100644 --- a/checkmedia.spec +++ b/checkmedia.spec @@ -76,10 +76,10 @@ install -d -m 755 %{buildroot}/usr/bin %{_libdir}/*.so.* %doc README.md %doc mediacheck.md -%if "%sles_version" == "11" -%doc COPYING -%else +%if %suse_version >= 1500 %license COPYING +%else +%doc COPYING %endif %files -n libmediacheck-devel