SPECS: apache-mod_rpaf.spec - fixed config, use %service; rel 1
glen
glen at pld-linux.org
Thu Jan 19 15:21:59 CET 2006
Author: glen Date: Thu Jan 19 14:21:59 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed config, use %service; rel 1
---- Files affected:
SPECS:
apache-mod_rpaf.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/apache-mod_rpaf.spec
diff -u SPECS/apache-mod_rpaf.spec:1.6 SPECS/apache-mod_rpaf.spec:1.7
--- SPECS/apache-mod_rpaf.spec:1.6 Tue Dec 27 01:46:35 2005
+++ SPECS/apache-mod_rpaf.spec Thu Jan 19 15:21:49 2006
@@ -5,14 +5,15 @@
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)
@@ -54,15 +55,11 @@
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
@@ -77,6 +74,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/01/19 14:21:49 glen
+- fixed config, use %service; rel 1
+
Revision 1.6 2005/12/27 00:46:35 glen
- unified
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/apache-mod_rpaf.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list