summaryrefslogtreecommitdiffstats
path: root/php-pecl-event.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-23 10:51:59 +0200
committerRemi Collet <remi@remirepo.net>2018-04-23 10:51:59 +0200
commit60947b59cbbbdaf3f879debd3309011cf78ce65f (patch)
tree657025f23d1695bf2ca9676197d15c8e946c7d48 /php-pecl-event.spec
parent35606a471018949cc0a130a0e39a0ec484d5d454 (diff)
test build for upstream patch
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r--php-pecl-event.spec3
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;')