SPECS: php-eaccelerator.spec - rel.1 - works, added tmpwatch file

blues blues at pld-linux.org
Tue Aug 8 13:53:01 CEST 2006


Author: blues                        Date: Tue Aug  8 11:53:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.1 - works, added tmpwatch file

---- Files affected:
SPECS:
   php-eaccelerator.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/php-eaccelerator.spec
diff -u SPECS/php-eaccelerator.spec:1.32 SPECS/php-eaccelerator.spec:1.33
--- SPECS/php-eaccelerator.spec:1.32	Tue Aug  8 13:46:39 2006
+++ SPECS/php-eaccelerator.spec	Tue Aug  8 13:52:56 2006
@@ -7,7 +7,7 @@
 %define		_sysconfdir	/etc/php
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
 %define		_rc		rc1
-%define		_rel		0.1
+%define		_rel		1
 #
 Summary:	eAccelerator module for PHP
 Summary(pl):	Moduł eAccelerator dla PHP
@@ -78,7 +78,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{extensionsdir},%{_bindir},%{_sysconfdir}/conf.d,/var/cache/%{_name}}
+install -d $RPM_BUILD_ROOT{%{extensionsdir},%{_bindir},%{_sysconfdir}/conf.d,/var/cache/%{_name},/etc/tmpwatch}
 
 install ./modules/eaccelerator.so $RPM_BUILD_ROOT%{extensionsdir}
 install ./encoder.php $RPM_BUILD_ROOT%{_bindir}
@@ -87,6 +87,8 @@
 install -d $RPM_BUILD_ROOT/home/services/httpd/html/eaccelerator
 cp -a doc/php/* $RPM_BUILD_ROOT/home/services/httpd/html/eaccelerator
 
+echo "/var/cache/%{_name} 720" > $RPM_BUILD_ROOT/etc/tmpwatch/%{name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -110,6 +112,7 @@
 %defattr(644,root,root,755)
 %doc README
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_name}.ini
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/tmpwatch/%{name}.conf
 %attr(755,root,root) %{extensionsdir}/eaccelerator.so
 %attr(755,root,root) %{_bindir}/encoder.php
 %attr(770,root,http) /var/cache/%{_name}
@@ -124,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2006/08/08 11:52:56  blues
+- rel.1 - works, added tmpwatch file
+
 Revision 1.32  2006/08/08 11:46:39  blues
 - 0.9.5rc1 - STBR to AC, it brings full php5.1 support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-eaccelerator.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list