]> git.pld-linux.org Git - packages/apache1-mod_mp3.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:
    apache1-mod_mp3.spec -> 1.21

apache1-mod_mp3.spec

index 1c45f00a3109cf0e6fd35132c868186a62d66c4f..d7f6d1187a3b0453af54479baa2d4536999e3461 100644 (file)
@@ -11,14 +11,14 @@ Group:              Networking/Daemons
 Source0:       http://software.tangent.org/download/%{arname}-%{version}.tar.gz
 Source1:       %{arname}.conf
 URL:           http://media.tangent.org/
-Requires:      apache >= 1.3.12
-Prereq:                grep
-Prereq:                apache(EAPI) >= 1.3.12
-Prereq:                %{_sbindir}/apxs
-Provides:      %{arname}
 BuildRequires: %{apxs}
 BuildRequires: apache(EAPI)-devel >= 1.3.12
 BuildRequires: expat-devel
+PreReq:                apache(EAPI) >= 1.3.12
+Requires(post,preun):  %{apxs}
+Requires(post,preun):  grep
+Requires(preun):       fileutils
+Provides:      %{arname}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define         _pkglibdir      %(%{apxs} -q LIBEXECDIR)
@@ -43,6 +43,7 @@ pami
 
 %build
 ./configure
+
 %{__make} APXS=%{apxs}
 
 %install
@@ -68,8 +69,9 @@ fi
 %preun
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       umask 027
        grep -E -v "^Include.*%{arname}.conf" %{_sysconfdir}/httpd.conf > \
-       %{_sysconfdir}/httpd.conf.tmp
+               %{_sysconfdir}/httpd.conf.tmp
        mv -f %{_sysconfdir}/httpd.conf.tmp %{_sysconfdir}/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
This page took 0.092193 seconds and 4 git commands to generate.