From c90001cb15f5235ec891eadaa32c4be4364e7abe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jul 2018 11:53:34 +0200 Subject: rebuild for 7.3.0alpha4 new ABI add patch for 7.3.0 from https://github.com/laruence/yaf/pull/410 --- php-pecl-yaf.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'php-pecl-yaf.spec') 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 - 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 - 3.0.7-2 - add upstream patch for PHP 7.3 -- cgit