SPECS: ZendOptimizer.spec - create files in prep

glen glen at pld-linux.org
Wed Oct 15 12:37:51 CEST 2008


Author: glen                         Date: Wed Oct 15 10:37:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create files in prep

---- Files affected:
SPECS:
   ZendOptimizer.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/ZendOptimizer.spec
diff -u SPECS/ZendOptimizer.spec:1.34 SPECS/ZendOptimizer.spec:1.35
--- SPECS/ZendOptimizer.spec:1.34	Wed Aug 27 15:36:48 2008
+++ SPECS/ZendOptimizer.spec	Wed Oct 15 12:37:46 2008
@@ -65,6 +65,23 @@
 %{__tar} --strip-components=1 -zxf %{SOURCE1}
 %endif
 
+cat <<'EOF' > data/zendoptimizer.ini
+; ZendOptimizer user settings.
+[Zend]
+zend_optimizer.optimization_level=15
+EOF
+
+cat <<'EOF' > data/pack.ini
+; ZendOptimizer package settings. Overwritten with each upgrade.
+; if you need to add options, edit %{name}.ini instead
+[Zend]
+zend_optimizer.version=%{version}
+zend_extension_manager.optimizer=%{_libdir}/Zend/lib/Optimizer-%{version}
+zend_extension_manager.optimizer_ts=%{_libdir}/Zend/lib/Optimizer_TS-%{version}
+zend_extension=%{_libdir}/Zend/lib/ZendExtensionManager.so
+zend_extension_ts=%{_libdir}/Zend/lib/ZendExtensionManager_TS.so
+EOF
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/php4,/etc/php}
@@ -86,23 +103,6 @@
 ln -s %{_sysconfdir}/php $RPM_BUILD_ROOT%{_libdir}/Zend/etc
 ln -s %{_bindir} $RPM_BUILD_ROOT%{_libdir}/Zend/bin
 
-cat <<'EOF' > zendoptimizer.ini
-; ZendOptimizer user settings.
-[Zend]
-zend_optimizer.optimization_level=15
-EOF
-
-cat <<'EOF' > pack.ini
-; ZendOptimizer package settings. Overwritten with each upgrade.
-; if you need to add options, edit %{name}.ini instead
-[Zend]
-zend_optimizer.version=%{version}
-zend_extension_manager.optimizer=%{_libdir}/Zend/lib/Optimizer-%{version}
-zend_extension_manager.optimizer_ts=%{_libdir}/Zend/lib/Optimizer_TS-%{version}
-zend_extension=%{_libdir}/Zend/lib/ZendExtensionManager.so
-zend_extension_ts=%{_libdir}/Zend/lib/ZendExtensionManager_TS.so
-EOF
-
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/php{,4}/conf.d
 install zendoptimizer.ini $RPM_BUILD_ROOT/etc/php4/conf.d/zendoptimizer.ini
 install zendoptimizer.ini $RPM_BUILD_ROOT/etc/php/conf.d/zendoptimizer.ini
@@ -196,6 +196,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2008/10/15 10:37:46  glen
+- create files in prep
+
 Revision 1.34  2008/08/27 13:36:48  arekm
 - fix build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ZendOptimizer.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list