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
This commit is contained in:
Luis Chamberlain 2018-05-24 16:08:02 +00:00 committed by Git OBS Bridge
parent 9852adee9b
commit a7484a3ff2
2 changed files with 7 additions and 0 deletions

View File

@ -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 Thu May 10 23:48:29 UTC 2018 - lurodriguez@suse.com

View File

@ -152,6 +152,7 @@ sed -e "s|@@PATH_TO_HELP@@|$PATH_TO_HELP|" %{SOURCE3} > module-setup.sh
export DIST_ROOT=%{buildroot} export DIST_ROOT=%{buildroot}
make install make install
make install-dev make install-dev
rm %{buildroot}%{_defaultdocdir}/%{name}/COPYING
# Move libhandle to usr, libhandle.{a,la} are symlinks to usr/lib* already so # Move libhandle to usr, libhandle.{a,la} are symlinks to usr/lib* already so
# remove them first. # remove them first.
rm %{buildroot}/%{_lib}/libhandle.a rm %{buildroot}/%{_lib}/libhandle.a
@ -251,6 +252,7 @@ install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
%endif %endif
%doc %{_mandir}/man[258]/* %doc %{_mandir}/man[258]/*
%doc %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}
%license doc/COPYING
%dir %{_libexecdir}/dracut %dir %{_libexecdir}/dracut
%dir %{_libexecdir}/dracut/modules.d %dir %{_libexecdir}/dracut/modules.d
%dir %{_dracutmodulesdir}/95suse-xfs/ %dir %{_dracutmodulesdir}/95suse-xfs/