--- php.spec.orig 2009-03-28 14:41:37.000000000 -0400 +++ php.spec 2009-03-28 14:46:46.000000000 -0400 @@ -8,7 +8,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.2.8 -Release: 1%{?dist} +Release: 1%{?dist}.scripts.%{scriptsversion} License: PHP Group: Development/Languages URL: http://www.php.net/ @@ -39,6 +39,10 @@ Patch50: php-5.2.7-tests-dashn.patch Patch51: 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, expat-devel @@ -377,6 +381,8 @@ %patch50 -p1 -b .tests-dashn %patch51 -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