diff options
author | Remi Collet <remi@remirepo.net> | 2017-06-26 16:02:04 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-06-26 16:02:04 +0200 |
commit | 2fb744b532cee2589a8c810461c1e95f794e9057 (patch) | |
tree | cf1e79a739715f8bc77e5346d72a76b5c37f45b8 /php-pecl-yar.spec | |
parent | 5e1c0c39958f737f79a66c4a412f9a37090c00ce (diff) |
add patch for 7.2
Diffstat (limited to 'php-pecl-yar.spec')
-rw-r--r-- | php-pecl-yar.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-yar.spec b/php-pecl-yar.spec index b202b97..bfc4561 100644 --- a/php-pecl-yar.spec +++ b/php-pecl-yar.spec @@ -34,13 +34,15 @@ Version: 2.0.2 Release: 0.11.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} +Patch0: 106.patch + BuildRequires: curl-devel BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -116,6 +118,7 @@ sed -e 's/role="test"/role="src"/' \ -i package2.xml cd NTS +%patch0 -p1 -b .pr106 # Sanity check, really often broken extver=$(sed -n '/#define PHP_YAR_VERSION/{s/.* "//;s/".*$//;p}' php_yar.h) @@ -275,6 +278,10 @@ export YAR_API_PORT=8964 %changelog +* Mon Jun 26 2017 Remi Collet <remi@remirepo.net> - 2.0.2-2 +- add upstream patch for PHP 7.2 from + https://github.com/laruence/yar/pull/106 + * Wed Mar 15 2017 Remi Collet <remi@remirepo.net> - 2.0.2-1 - Update to 2.0.2 |