SPECS: trac.spec - started reviewing mod_python patches - use %ser...

glen glen at pld-linux.org
Wed Feb 1 15:57:05 CET 2006


Author: glen                         Date: Wed Feb  1 14:57:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- started reviewing mod_python patches
- use %service even in triggers

---- Files affected:
SPECS:
   trac.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/trac.spec
diff -u SPECS/trac.spec:1.26 SPECS/trac.spec:1.27
--- SPECS/trac.spec:1.26	Thu Jan 26 15:33:24 2006
+++ SPECS/trac.spec	Wed Feb  1 15:56:59 2006
@@ -16,7 +16,7 @@
 URL:		http://www.edgewall.com/trac/
 BuildRequires:	python >= 1:2.1
 BuildRequires:	python-devel >= 1:2.1
-BuildRequires:	rpmbuild(macros) >= 1.264
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	group(http)
 Requires:	python >= 1:2.1
 Requires:	python-clearsilver >= 0.9.3
@@ -24,7 +24,8 @@
 Requires:	python-subversion >= 1.2.0
 Requires:	subversion >= 1.0.0
 Requires:	webapps
-# Requires:	apache(mod_env)
+#Suggests:	apache(mod_env)
+#Suggests:	apache-mod_python >= 3.1.3
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,8 +43,8 @@
 %description -l pl
 Trac to minimalistyczny, oparty na WWW zarządca projektów i system
 śledzenia błędów/problemów. Dostarcza interfejs do systemu kontroli
-wersji Subversion, zintegrowane wiki, elastyczne śledzenie problemów
-i wygodne ułatwienia do raportowania.
+wersji Subversion, zintegrowane wiki, elastyczne śledzenie problemów i
+wygodne ułatwienia do raportowania.
 
 %prep
 %setup -q
@@ -133,14 +134,10 @@
 fi
 
 if [ "$httpd_reload" ]; then
-	if [ -f /var/lock/subsys/httpd ]; then
-		/etc/rc.d/init.d/httpd reload 1>&2
-	fi
+	%service -q httpd reload
 fi
 if [ "$apache_reload" ]; then
-	if [ -f /var/lock/subsys/apache ]; then
-		/etc/rc.d/init.d/apache reload 1>&2
-	fi
+	%service -q apache reload
 fi
 
 %files
@@ -174,6 +171,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2006/02/01 14:56:59  glen
+- started reviewing mod_python patches
+- use %service even in triggers
+
 Revision 1.26  2006/01/26 14:33:24  glen
 - add cve ref
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/trac.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list