diff --git a/apache2.changes b/apache2.changes index a504391..ab3eb6f 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 18 17:49:58 UTC 2017 - kukuk@suse.com + +- Don't require insserv if we don't need it. + ------------------------------------------------------------------- Tue Jan 10 22:00:14 UTC 2017 - jweberhofer@weberhofer.at diff --git a/apache2.spec b/apache2.spec index 48a1956..edea454 100644 --- a/apache2.spec +++ b/apache2.spec @@ -149,7 +149,10 @@ BuildRequires: zlib-devel Requires: %{_sysconfdir}/mime.types Requires: %{name}-MPM Requires: logrotate -Requires(post): %insserv_prereq %fillup_prereq +%if 0%{?suse_version} < 1210 +Requires(post): %insserv_prereq +%endif +Requires(post): %fillup_prereq Requires(post): %{name}-utils Requires(post): fileutils Requires(post): grep @@ -270,8 +273,8 @@ for development using the Apache API. %package doc Summary: Additional Package Documentation -# Remove after 13.2 is out of support scope Group: Documentation/Other +# Remove after 13.2 is out of support scope Provides: apache-doc = %{version} Obsoletes: apache-doc < %{version} %if 0%{?suse_version} >= 1120 @@ -284,8 +287,8 @@ this package's base documentation. %package example-pages Summary: Example Pages for the Apache 2 Web Server -# Remove after 13.2 is out of support scope Group: Productivity/Networking/Web/Servers +# Remove after 13.2 is out of support scope Provides: apache-example-pages Obsoletes: apache-example-pages