From a7484a3ff2bafa4b64bcbf2534382e9e0224573e45c1630eacae1e405e25faf4 Mon Sep 17 00:00:00 2001 From: Luis Chamberlain Date: Thu, 24 May 2018 16:08:02 +0000 Subject: [PATCH] Accepting request 611874 from home:kukuk:branches:filesystems - Use %license instead of %doc [bsc#1082318] OBS-URL: https://build.opensuse.org/request/show/611874 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=70 --- xfsprogs.changes | 5 +++++ xfsprogs.spec | 2 ++ 2 files changed, 7 insertions(+) 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/