summaryrefslogtreecommitdiffstats
path: root/php-pecl-uv.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-21 09:41:36 +0200
committerRemi Collet <remi@remirepo.net>2017-06-21 09:41:36 +0200
commit7bbf472395d60780920da7565138e67d6890e5ce (patch)
treebf0908df21db23c9e0935332f6cfd84c0f31e5e7 /php-pecl-uv.spec
parentbae2f9526039cc2addbce0d3329885a7a22c5c90 (diff)
upstream patch for 7.2.0alpha2
Diffstat (limited to 'php-pecl-uv.spec')
-rw-r--r--php-pecl-uv.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-uv.spec b/php-pecl-uv.spec
index b6814c2..038af04 100644
--- a/php-pecl-uv.spec
+++ b/php-pecl-uv.spec
@@ -19,12 +19,14 @@
Summary: Libuv wrapper
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.2.1
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Patch0: 20869861c8a706efec921b0ae18c78a3c12cd1f0.patch
+
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pkgconfig(libuv) >= 1.0.0
@@ -81,6 +83,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1 -b .upstream
+
# Sanity check, really often broken
extver=$(sed -n '/define PHP_UV_VERSION/{s/.* "//;s/".*$//;p}' php_uv.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -225,6 +229,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 0.2.1-2
+- rebuild for 7.2.0alpha2
+
* Mon May 8 2017 Remi Collet <remi@remirepo.net> - 0.2.1-1
- Update to 0.2.1