SHA256
1
0
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:
Petr Gajdos 2020-02-12 13:13:24 +00:00 committed by Git OBS Bridge
parent 9dd35b1313
commit 23ccb79755
2 changed files with 18 additions and 0 deletions

View File

@ -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>

View File

@ -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