forked from pool/apache2
- fix build for older distributions
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=597
This commit is contained in:
parent
9dd35b1313
commit
23ccb79755
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 13:13:05 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- fix build for older distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 18:22:09 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||
|
||||
|
13
apache2.spec
13
apache2.spec
@ -802,6 +802,19 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
||||
-e debug -t -f %{buildroot}/%{sysconfdir}/httpd.conf.test || exit 1
|
||||
rm %{buildroot}/%{sysconfdir}/*.test
|
||||
|
||||
# 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 -f filelist
|
||||
%defattr(-,root,root)
|
||||
%doc INSTALL READM* ABOUT_APACHE CHANGES
|
||||
|
Loading…
x
Reference in New Issue
Block a user