diff --git a/xfsprogs.changes b/xfsprogs.changes index 6a72cee..881090b 100644 --- a/xfsprogs.changes +++ b/xfsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 24 14:29:20 CEST 2018 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + ------------------------------------------------------------------- Thu May 10 23:48:29 UTC 2018 - lurodriguez@suse.com diff --git a/xfsprogs.spec b/xfsprogs.spec index 5461f76..9d34518 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -152,6 +152,7 @@ sed -e "s|@@PATH_TO_HELP@@|$PATH_TO_HELP|" %{SOURCE3} > module-setup.sh export DIST_ROOT=%{buildroot} make install make install-dev +rm %{buildroot}%{_defaultdocdir}/%{name}/COPYING # Move libhandle to usr, libhandle.{a,la} are symlinks to usr/lib* already so # remove them first. rm %{buildroot}/%{_lib}/libhandle.a @@ -251,6 +252,7 @@ install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/ %endif %doc %{_mandir}/man[258]/* %doc %{_defaultdocdir}/%{name} +%license doc/COPYING %dir %{_libexecdir}/dracut %dir %{_libexecdir}/dracut/modules.d %dir %{_dracutmodulesdir}/95suse-xfs/