]> git.pld-linux.org Git - packages/apache-mod_rpaf.git/commitdiff
- fixed config, use %service; rel 1 auto/ac/apache-mod_rpaf-0_5-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Jan 2006 14:21:49 +0000 (14:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_rpaf.spec -> 1.7

apache-mod_rpaf.spec

index 438f987d7a5e648861805b9ccbaa8f2662a0ed5b..46ad686bae7a6c5e23048e1305f4310c4faba648 100644 (file)
@@ -4,14 +4,15 @@ Summary:      Reverse proxy add forward module for Apache2
 Summary(pl):   Modu³ Apache'a 2 dodaj±cy przekazywanie dla odwrotnych proxy
 Name:          apache-mod_%{mod_name}
 Version:       0.5
-Release:       0.3
+Release:       1
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: 471fb059d6223a394f319b7c8ab45c4d
 Source1:       %{name}.conf
 URL:           http://stderr.net/apache/rpaf/
-BuildRequires: apache-devel >=  2.0.36
+BuildRequires: apache-devel >= 2.0.36
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      apache(modules-api) = %apache_modules_api
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -53,15 +54,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/99_mod_%{mod_name}.c
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/httpd ]; then
-       /etc/rc.d/init.d/httpd restart 1>&2
-fi
+%service -q httpd restart
 
 %postun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
-       fi
+       %service -q httpd restart
 fi
 
 %files
This page took 0.09073 seconds and 4 git commands to generate.