diff --git a/apache2.changes b/apache2.changes index 11bf6f7..164d6e9 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 18 11:52:30 CET 2013 - mhrusecky@suse.cz + +- use %set_permissions instead %run_permissions (bnc#764097) + ------------------------------------------------------------------- Wed Jul 25 11:32:34 UTC 2012 - saschpe@suse.de diff --git a/apache2.spec b/apache2.spec index 6b7bf9b..d0c5970 100644 --- a/apache2.spec +++ b/apache2.spec @@ -1,7 +1,7 @@ # # spec file for package apache2 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -1077,7 +1077,11 @@ exit 0 %insserv_cleanup %post +%if 0%{?suse_version} <= 1130 %run_permissions +%else +%set_permissions /usr/sbin/suexec2 +%endif %if 0%{?suse_version} # a group wwwadmin has existed in the distant past, and it was renamed to www if grep -q "^wwwadmin:" /etc/group; then