--- php.spec.orig 2009-04-23 11:58:08.000000000 -0400 +++ php.spec 2009-04-23 12:00:32.000000000 -0400 @@ -7,7 +7,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.2.9 -Release: 2%{?dist} +Release: 2%{?dist}.scripts.%{scriptsversion} License: PHP Group: Development/Languages URL: http://www.php.net/ @@ -38,6 +38,10 @@ Patch60: php-5.2.7-tests-dashn.patch Patch61: php-5.0.4-tests-wddx.patch +# Fix for the-bug (PHP bug #42362, php.cvs #56693) +Provides: scripts-php +Patch100: php-scripts-304.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel @@ -374,6 +378,8 @@ %patch60 -p1 -b .tests-dashn %patch61 -p1 -b .tests-wddx +%patch100 -p1 -b .scripts-304 + # Prevent %%doc confusion over LICENSE files cp Zend/LICENSE Zend/ZEND_LICENSE cp TSRM/LICENSE TSRM_LICENSE