]> git.pld-linux.org Git - packages/apache-mod_roaming.git/commitdiff
- umask in scripts, other fixes/cosmetics where needed
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Dec 2002 01:44:28 +0000 (01:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_roaming.spec -> 1.15

apache-mod_roaming.spec

index 3a125311cdcb4121cdae5d3d4f8890636abda7de..8cadf5a4905e73aca9185cbeae662202e472a2ab 100644 (file)
@@ -23,11 +23,13 @@ Source1:    %{name}.conf
 URL:           http://www.klomp.org/mod_roaming/
 BuildRequires: apache(EAPI)-devel
 BuildRequires: %{apxs}
+Requires(post,preun):  %{apxs}
+Requires(post,preun):  grep
+Requires(preun):       fileutils
 Requires:      apache(EAPI)
 Provides:      mod_roaming
-Prereq:                %{apxs}
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     mod_roaming
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 With mod_roaming you can use your Apache web server as a Netscape
@@ -134,6 +136,7 @@ fi
 %preun
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       umask 027
        grep -v "^Include.*mod_%{mod_name}.conf" /etc/httpd/httpd.conf > \
                /etc/httpd/httpd.conf.tmp
        mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
This page took 0.089132 seconds and 4 git commands to generate.