don't build with -Werror (#1958041)

Resolves: rhbz#1958041
This commit is contained in:
Joe Orton 2021-05-17 16:24:07 +01:00
parent 864339d475
commit 64b6bd56c0

View File

@ -3,7 +3,7 @@
Name: mod_md
Version: 2.3.7
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Certificate provisioning using ACME for the Apache HTTP Server
License: ASL 2.0
URL: https://icing.github.io/mod_md/
@ -31,6 +31,8 @@ domains and their virtual hosts automatically, including at renewal.
# remove rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# remove Werror
sed -i 's|-Werror ||' */Makefile Makefile
%make_build V=1
@ -58,6 +60,9 @@ echo "LoadModule md_module modules/mod_md.so" > %{buildroot}%{_httpd_modconfdir}
%{_mandir}/man1/*
%changelog
* Mon May 17 2021 Joe Orton <jorton@redhat.com> - 1:2.3.7-3
- don't build with -Werror (#1958041)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.3.7-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937