From 383eac50adf92c77c6ff29d18429c7e188f77e60 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Jun 2018 14:16:55 +0200 Subject: add upstream patch for PHP 7.3 --- php-pecl-yaf.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'php-pecl-yaf.spec') diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec index f1045f8..2701814 100644 --- a/php-pecl-yaf.spec +++ b/php-pecl-yaf.spec @@ -31,13 +31,15 @@ Version: 3.0.7 Release: 0.10.%{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;')}} Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif License: PHP URL: http://pecl.php.net/package/yaf Source1: %{pecl_name}.ini +Patch0: https://github.com/laruence/yaf/commit/931dc56c7a53c388c21d679ae10dfe0b245aed32.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear @@ -107,6 +109,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .up # Sanity check, really often broken extver=$(sed -n '/#define PHP_YAF_VERSION/{s/.*\t"//;s/".*$//;p}' php_yaf.h ) @@ -228,6 +231,9 @@ fi %changelog +* Thu Jun 28 2018 Remi Collet - 3.0.7-2 +- add upstream patch for PHP 7.3 + * Thu Mar 22 2018 Remi Collet - 3.0.7-1 - update to 3.0.7 -- cgit