SPECS (DEVEL): ZendOptimizer.spec - adapterized, unified use /etc/...

glen glen at pld-linux.org
Fri Sep 30 12:19:31 CEST 2005


Author: glen                         Date: Fri Sep 30 10:19:31 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- adapterized, unified use /etc/ and sysconfdir
- fixed php4 dep
- fixed php epoch
- corrections to preambles

---- Files affected:
SPECS:
   ZendOptimizer.spec (1.19.2.5 -> 1.19.2.6) 

---- Diffs:

================================================================
Index: SPECS/ZendOptimizer.spec
diff -u SPECS/ZendOptimizer.spec:1.19.2.5 SPECS/ZendOptimizer.spec:1.19.2.6
--- SPECS/ZendOptimizer.spec:1.19.2.5	Fri Sep 30 12:11:35 2005
+++ SPECS/ZendOptimizer.spec	Fri Sep 30 12:19:25 2005
@@ -9,7 +9,7 @@
 Summary(pl):	Zend Optimizer - optymalizator kodu PHP
 Name:		ZendOptimizer
 Version:	2.5.10a
-Release:	0.10
+Release:	0.11
 License:	Zend License, distributable only if unmodified and for free (see LICENSE)
 Group:		Libraries
 Source0:	http://downloads.zend.com/optimizer/2.5.10/%{name}-%{version}-linux-glibc21-i386.tar.gz
@@ -37,20 +37,20 @@
 Zend Optimizer - optymalizator kodu PHP.
 
 %package -n php4-%{name}
-Summary:	php4
-Group:		php4
-PreReq:		ZendOptimizer = %{version}-%{release}
-Requires:	php >= 3:4.0.6
+Summary:	Zend Optimizer for PHP 4.x.
+Group:		Libraries
+Requires:	ZendOptimizer = %{version}-%{release}
+Requires:	php4 >= 3:4.0.6
 Provides:	ZendOptimizer(php)
 
 %description -n php4-%{name}
 Zend Optimizer for PHP 4.x.
 
 %package -n php-%{name}
-Summary:	php
-Group:		php
-PreReq:		ZendOptimizer = %{version}-%{release}
-Requires:	php >= 3:5.0.0
+Summary:	Zend Optimizer for PHP 5.x.
+Group:		Libraries
+Requires:	ZendOptimizer = %{version}-%{release}
+Requires:	php >= 4:5.0.0
 Provides:	ZendOptimizer(php)
 
 %description -n php-%{name}
@@ -69,8 +69,6 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir}/Zend/lib/Optimizer{,_TS}-%{version},%{_bindir},/etc/php{,4},}
-install -d $RPM_BUILD_ROOT%{_libdir}/Zend/lib/Optimizer-%{version}/php-{4.0.6,4.1.x,4.2.0,4.2.x,4.3.x,4.4.x,5.0.x}
-install -d $RPM_BUILD_ROOT%{_libdir}/Zend/lib/Optimizer_TS-%{version}/php-{4.2.x,4.3.x,4.4.x,5.0.x}
 
 echo "zend_optimizer.version=%{version}" > $RPM_BUILD_ROOT/etc/php4/pack.ini
 echo "zend_optimizer.version=%{version}" > $RPM_BUILD_ROOT/etc/php/pack.ini
@@ -103,8 +101,8 @@
 EOF
 
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/php{,4}/conf.d
-install zendoptimizer.ini $RPM_BUILD_ROOT%{_sysconfdir}/php4/conf.d/%{name}.ini
-install zendoptimizer.ini $RPM_BUILD_ROOT%{_sysconfdir}/php/conf.d/%{name}.ini
+install zendoptimizer.ini $RPM_BUILD_ROOT/etc/php4/conf.d/%{name}.ini
+install zendoptimizer.ini $RPM_BUILD_ROOT/etc/php/conf.d/%{name}.ini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -157,15 +155,15 @@
 
 %files -n php4-%{name}
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php4/pack.ini
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php4/conf.d/*.ini
-%{_sysconfdir}/php4/poweredbyoptimizer.gif
+%config(noreplace) %verify(not md5 mtime size) /etc/php4/pack.ini
+%config(noreplace) %verify(not md5 mtime size) /etc/php4/conf.d/*.ini
+/etc/php4/poweredbyoptimizer.gif
 
 %files -n php-%{name}
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php/pack.ini
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php/conf.d/*.ini
-%{_sysconfdir}/php/poweredbyoptimizer.gif
+%config(noreplace) %verify(not md5 mtime size) /etc/php/pack.ini
+%config(noreplace) %verify(not md5 mtime size) /etc/php/conf.d/*.ini
+/etc/php/poweredbyoptimizer.gif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -173,6 +171,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19.2.6  2005/09/30 10:19:25  glen
+- adapterized, unified use /etc/ and sysconfdir
+- fixed php4 dep
+- fixed php epoch
+- corrections to preambles
+
 Revision 1.19.2.5  2005/09/30 10:11:35  glen
 - use conf.d for ini, complete php setup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ZendOptimizer.spec?r1=1.19.2.5&r2=1.19.2.6&f=u




More information about the pld-cvs-commit mailing list