forked from pool/kdump
Accepting request 687013 from home:ptesarik:branches:Kernel:kdump
- Use %license instead of %doc (bsc#1082318, bsc#1129947). OBS-URL: https://build.opensuse.org/request/show/687013 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=178
This commit is contained in:
parent
34149464b0
commit
1c5a977280
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 15:35:29 UTC 2019 - ptesarik@suse.com
|
||||
|
||||
- Use %license instead of %doc (bsc#1082318, bsc#1129947).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 13:34:40 UTC 2019 - ptesarik@suse.com
|
||||
|
||||
|
15
kdump.spec
15
kdump.spec
@ -222,9 +222,22 @@ rm /var/log/dump >/dev/null 2>&1 || true
|
||||
%insserv_cleanup
|
||||
%endif
|
||||
|
||||
# Compatibility cruft
|
||||
# there is no %license prior to SLE12
|
||||
%if %{undefined _defaultlicensedir}
|
||||
%define license %doc
|
||||
%else
|
||||
# filesystem before SLE12 SP3 lacks /usr/share/licenses
|
||||
%if 0%(test ! -d %{_defaultlicensedir} && echo 1)
|
||||
%define _defaultlicensedir %_defaultdocdir
|
||||
%endif
|
||||
%endif
|
||||
# End of compatibility cruft
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog COPYING README NEWS
|
||||
%license COPYING
|
||||
%doc ChangeLog README NEWS
|
||||
%{_sbindir}/kdumptool
|
||||
%{_sbindir}/mkdumprd
|
||||
%{_mandir}/man5/kdump.5%{ext_man}
|
||||
|
Loading…
x
Reference in New Issue
Block a user