update to 1.15.1

This commit is contained in:
Joe Orton 2019-05-29 08:29:24 +01:00
parent 536058861e
commit 1a086e68c7

View File

@ -2,7 +2,7 @@
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
Name: mod_http2
Version: 1.15.0
Version: 1.15.1
Release: 1%{?dist}
Summary: module implementing HTTP/2 for Apache 2
License: ASL 2.0
@ -30,22 +30,13 @@ make %{?_smp_mflags} V=1
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}/etc/httpd/share/doc/
# remove links and rename SO files
#rm -r %{buildroot}%{_httpd_moddir}/mod_http2.so
#rm -r %{buildroot}%{_httpd_moddir}/mod_proxy_http2.so
#mv %{buildroot}%{_httpd_moddir}/mod_http2.so.0.0.0 %{buildroot}%{_httpd_moddir}/mod_http2.so
#mv %{buildroot}%{_httpd_moddir}/mod_proxy_http2.so.0.0.0 %{buildroot}%{_httpd_moddir}/mod_proxy_http2.so
# create configuration
mkdir -p %{buildroot}%{_httpd_modconfdir}
echo "LoadModule http2_module modules/mod_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-h2.conf
echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-proxy_h2.conf
%check
make check
%files
%doc README README.md ChangeLog AUTHORS
%doc README.md ChangeLog AUTHORS
%license LICENSE
%config(noreplace) %{_httpd_modconfdir}/10-h2.conf
%config(noreplace) %{_httpd_modconfdir}/10-proxy_h2.conf
@ -53,6 +44,9 @@ make check
%{_httpd_moddir}/mod_proxy_http2.so
%changelog
* Wed May 29 2019 Joe Orton <jorton@redhat.com> - 1.15.1-1
- update to 1.15.1
* Wed May 22 2019 Joe Orton <jorton@redhat.com> - 1.15.0-1
- update to 1.15.0