8
0

- define %license for older codestreams

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=75
This commit is contained in:
2020-02-13 08:13:09 +00:00
committed by Git OBS Bridge
parent e4fa98b8a9
commit 0d720ad71f
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 13 08:03:41 UTC 2020 - pgajdos@suse.com
- define %license for older codestreams
-------------------------------------------------------------------
Sat Nov 16 17:34:11 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache2-mod_perl
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -177,6 +177,19 @@ find %{buildroot}%{perl_vendorarch}/auto -name .packlist -print0 | xargs -0 -r r
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%endif
# taken from kdump/kdump.spec, thanks!
# 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
%license LICENSE
%doc Changes README RELEASE STATUS