forked from pool/apache2-mod_perl
		
	- 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:
		| @@ -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> | Sat Nov 16 17:34:11 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package apache2-mod_perl | # 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 | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # 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 | rm -f %{buildroot}%{perl_archlib}/perllocal.pod | ||||||
| %endif | %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 | %files | ||||||
| %license LICENSE | %license LICENSE | ||||||
| %doc Changes README RELEASE STATUS | %doc Changes README RELEASE STATUS | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user