diff options
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r-- | php-pecl-event.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/php-pecl-event.spec b/php-pecl-event.spec index 0de0c05..6182e49 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -41,6 +41,8 @@ License: PHP URL: http://pecl.php.net/package/event Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +Patch0: %{pecl_name}-upstream.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -116,6 +118,7 @@ sed -e 's/role="test"/role="src"/' \ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS cd NTS +%patch0 -p1 -b .upstream # Sanity check, really often broken DIR=$(%{__php} -r 'echo "php" . PHP_MAJOR_VERSION;') |