SHA256
1
0
forked from pool/apache2

- Replace SuSEFirewall2 by firewalld II (fate#323460)

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=553
This commit is contained in:
2018-03-19 07:54:04 +00:00
committed by Git OBS Bridge
parent f3fc0cfd6b
commit 0f49ffe6bb
2 changed files with 11 additions and 0 deletions

View File

@@ -153,6 +153,9 @@ BuildRequires: apr-util-devel
#Since 2.4.7 the event MPM requires apr 1.5.0 or later.
BuildRequires: apr-devel >= 1.5.0
BuildRequires: automake
%if %{use_firewalld}
BuildRequires: firewall-macros
%endif
%if 0%{?suse_version} >= 1315
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libbrotlienc)
@@ -1492,6 +1495,9 @@ if [ -n "$HTTPD_MPM" ]; then
ln -sf $HTTPD_SBIN_BASE-$HTTPD_MPM $HTTPD_SBIN_BASE
fi
#
%if %{use_firewalld}
%firewalld_reload
%endif
exit 0
%posttrans