Accepting request 631380 from home:ptesarik:branches:Kernel:kdump

- Fix %license destination for older distributions.

OBS-URL: https://build.opensuse.org/request/show/631380
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=126
This commit is contained in:
Petr Tesařík 2018-08-24 13:42:30 +00:00 committed by Git OBS Bridge
parent a56410d207
commit 20ac94dc19
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 24 13:06:51 UTC 2018 - ptesarik@suse.com
- Fix %license destination for older distributions.
-------------------------------------------------------------------
Fri Aug 24 09:01:03 UTC 2018 - ptesarik@suse.com

View File

@ -97,6 +97,14 @@ install -D -m 0755 eppic_makedumpfile.so %{buildroot}%{_libdir}/%{name}-%{versio
install -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts
install -m 0644 -t %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts/ eppic_scripts/*
%if 0%{?_defaultlicensedir:1}
%if 0%(test ! -d %{_defaultlicensedir} && echo 1)
%define _defaultlicensedir %_defaultdocdir
%endif
%else
%define license %doc
%endif
%files
%defattr(-,root,root)
%license COPYING