SPECS: drupal.spec - cron fixes: set interpreter, chdir to drupal ...

glen glen at pld-linux.org
Tue Jan 30 17:05:09 CET 2007


Author: glen                         Date: Tue Jan 30 16:05:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cron fixes: set interpreter, chdir to drupal basedir; rel 2

---- Files affected:
SPECS:
   drupal.spec (1.72 -> 1.73) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.72 SPECS/drupal.spec:1.73
--- SPECS/drupal.spec:1.72	Fri Jan  5 02:50:43 2007
+++ SPECS/drupal.spec	Tue Jan 30 17:05:01 2007
@@ -5,7 +5,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	%{_ver}.%{_patchlevel}
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://drupal.org/files/projects/%{name}-%{version}.tar.gz
@@ -100,9 +100,7 @@
 Summary(pl):	Usługa cron dla Drupala
 Group:		Applications/WWW
 Requires:	%{name} = %{version}-%{release}
-Requires:	/usr/bin/php
 Requires:	crondaemon
-Requires:	php-cli >= 3:4.3.3
 
 %description cron
 This package contains script which invokes cron hooks for Drupal.
@@ -201,7 +199,8 @@
 cp -a xmlrpc.php $RPM_BUILD_ROOT%{_appdir}/htdocs
 cp -a database/updates.inc $RPM_BUILD_ROOT%{_appdir}/database
 
-cp -a cron.php update.php $RPM_BUILD_ROOT%{_appdir}
+cp -a update.php $RPM_BUILD_ROOT%{_appdir}
+install cron.php $RPM_BUILD_ROOT%{_appdir}
 cp -a modules/* $RPM_BUILD_ROOT%{_appdir}/modules
 cp -a includes scripts $RPM_BUILD_ROOT%{_appdir}
 cp -a sites $RPM_BUILD_ROOT%{_sysconfdir}
@@ -390,7 +389,7 @@
 %files cron
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
-%{_appdir}/cron.php
+%attr(755,root,root) %{_appdir}/cron.php
 
 %files db-mysql
 %defattr(644,root,root,755)
@@ -419,6 +418,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.73  2007/01/30 16:05:01  glen
+- cron fixes: set interpreter, chdir to drupal basedir; rel 2
+
 Revision 1.72  2007/01/05 01:50:43  glen
 - update.php uses relative paths
 
================================================================

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



More information about the pld-cvs-commit mailing list