SPECS: drupal.spec - use %service in trigger to respect skip auto ...

glen glen at pld-linux.org
Wed Jan 4 15:16:22 CET 2006


Author: glen                         Date: Wed Jan  4 14:16:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service in trigger to respect skip auto restarts of services
- added locale memory patch

---- Files affected:
SPECS:
   drupal.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.48 SPECS/drupal.spec:1.49
--- SPECS/drupal.spec:1.48	Thu Dec 29 16:39:14 2005
+++ SPECS/drupal.spec	Wed Jan  4 15:16:16 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	4.6.5
-Release:	0.11
+Release:	0.12
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://drupal.org/files/projects/%{name}-%{version}.tar.gz
@@ -19,6 +19,7 @@
 Patch5:		%{name}-cron.patch
 Patch6:		%{name}-19298-cache.patch
 Patch7:		%{name}-update-cli.patch
+Patch8:		%{name}-locale-memory.patch
 URL:		http://drupal.org/
 BuildRequires:	rpmbuild(macros) >= 1.264
 BuildRequires:	sed >= 4.0
@@ -171,6 +172,7 @@
 %patch5 -p1
 %patch6 -p0
 %patch7 -p1
+%patch8 -p1
 
 find -name '*~' | xargs -r rm -v
 cp -p %{SOURCE3} README.PLD
@@ -293,14 +295,10 @@
 fi
 
 if [ "$httpd_reload" ]; then
-	if [ -f /var/lock/subsys/httpd ]; then
-		/etc/rc.d/init.d/httpd reload 1>&2
-	fi
+	%service 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 apache reload
 fi
 
 %files
@@ -364,6 +362,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2006/01/04 14:16:16  glen
+- use %service in trigger to respect skip auto restarts of services
+- added locale memory patch
+
 Revision 1.48  2005/12/29 15:39:14  glen
 - adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list