summaryrefslogtreecommitdiffstats
path: root/php-pecl-yaf.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 11:53:34 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 11:53:34 +0200
commitc90001cb15f5235ec891eadaa32c4be4364e7abe (patch)
treeeb6ec7ba12671e77cdfc64e8f9e6bf3e49fe330a /php-pecl-yaf.spec
parent383eac50adf92c77c6ff29d18429c7e188f77e60 (diff)
rebuild for 7.3.0alpha4 new ABI
add patch for 7.3.0 from https://github.com/laruence/yaf/pull/410
Diffstat (limited to 'php-pecl-yaf.spec')
-rw-r--r--php-pecl-yaf.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec
index 2701814..98afcac 100644
--- a/php-pecl-yaf.spec
+++ b/php-pecl-yaf.spec
@@ -28,10 +28,10 @@ Summary: Yet Another Framework
Name: %{?sub_prefix}php-pecl-yaf
Version: 3.0.7
%if 0%{?gh_date:1}
-Release: 0.10.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
%endif
License: PHP
@@ -39,6 +39,7 @@ URL: http://pecl.php.net/package/yaf
Source1: %{pecl_name}.ini
Patch0: https://github.com/laruence/yaf/commit/931dc56c7a53c388c21d679ae10dfe0b245aed32.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/laruence/yaf/pull/410.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7
@@ -78,6 +79,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -110,6 +115,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
%patch0 -p1 -b .up
+%patch1 -p1 -b .pr410
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_YAF_VERSION/{s/.*\t"//;s/".*$//;p}' php_yaf.h )
@@ -231,6 +237,11 @@ fi
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 3.0.7-3
+- rebuild for 7.3.0alpha4 new ABI
+- add patch for 7.3.0 from
+ https://github.com/laruence/yaf/pull/410
+
* Thu Jun 28 2018 Remi Collet <remi@remirepo.net> - 3.0.7-2
- add upstream patch for PHP 7.3