diff --git a/apache2.changes b/apache2.changes index 85f5847..ce5d85f 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 16 18:59:58 UTC 2017 - kukuk@suse.com + +- PreRequire user wwwrun and group www + ------------------------------------------------------------------- Tue Mar 7 15:14:29 UTC 2017 - pgajdos@suse.com diff --git a/apache2.spec b/apache2.spec index 082ef32..be7afeb 100644 --- a/apache2.spec +++ b/apache2.spec @@ -1,7 +1,7 @@ # # spec file for package apache2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -164,6 +164,10 @@ Requires(post): permissions Requires(post): pwdutils Requires(post): sed Requires(post): textutils +%if 0%{?suse_version} > 1320 +Requires(pre): user(wwwrun) +Requires(pre): group(www) +%endif Suggests: apache2-%{default_mpm} Provides: %{apache_mmn} Provides: %{name}-mod_macro = %{version} @@ -277,8 +281,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 @@ -291,8 +295,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