- create files in prep AC-branch auto/ac/ZendOptimizer-3_3_3-3
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Oct 2008 10:37:46 +0000 (10:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ZendGuardLoader.spec -> 1.35

ZendGuardLoader.spec

index 6cdf366..5dd1201 100644 (file)
@@ -64,6 +64,23 @@ Zend Optimizer dla PHP 5.x.
 %{__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}
@@ -85,23 +102,6 @@ install *.so $RPM_BUILD_ROOT%{_libdir}/Zend/lib
 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
This page took 0.127225 seconds and 4 git commands to generate.