|
|
@@ -38,7 +38,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: PHP
|
|
|
Version: %{V_php}
|
|
|
-Release: 20040725
|
|
|
+Release: 20040825
|
|
|
|
|
|
# package options
|
|
|
%option with_bc no
|
|
|
@@ -102,6 +102,7 @@ Release: 20040725
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://static.php.net/www.php.net/distributions/php-%{V_php}.tar.gz
|
|
|
+Source1: php.ini
|
|
|
Patch0: http://www.hardened-php.net/hardened-php-%{V_php}-%{V_php_hardened}.patch.gz
|
|
|
Patch1: php.patch
|
|
|
|
|
|
@@ -479,8 +480,8 @@ AutoReqProv: no
|
|
|
# install default configuration file
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/php
|
|
|
- %{l_shtool} install -c -m 644 /dev/null \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/etc/php/php.ini
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ %{SOURCE php.ini} $RPM_BUILD_ROOT%{l_prefix}/etc/php/
|
|
|
|
|
|
# strip down installation
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|