diff --git a/apache2.spec b/apache2.spec index 2a55813..227ede5 100644 --- a/apache2.spec +++ b/apache2.spec @@ -171,8 +171,11 @@ Requires: %{pname}-MPM Requires: /etc/mime.types PreReq: %{name}-utils Requires: logrotate -%requires_ge libapr1 -%requires_ge libapr-util1 +# in the past, libapr1 >= 1.0 was sufficient. But since 2.2.16, a failure to +# create listen sockets can occur, unless newer libapr1 is used, with certain kernels. +# see https://bugzilla.redhat.com/show_bug.cgi?id=516331 +Requires: libapr1 < 2.0 +Requires: libapr1 >= 1.4.2 %{?systemd_requires} PreReq: fileutils textutils grep sed %if %{?suse_version:1}0 @@ -376,7 +379,7 @@ to administrators of web servers in general. %patch70 -p1 #%patch108 -p1 %patch109 -p1 -%patch110 +%patch110 %patch111 -p1 cat $RPM_SOURCE_DIR/SUSE-NOTICE >> NOTICE