From d6f05e21dab46ec89b07eb7768b804739ab4baff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Aug 2021 14:07:36 +0200 Subject: add patch for test suite with 8.1.0beta2 from https://github.com/laruence/yac/pull/120 --- php-pecl-yac.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-yac.spec') diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec index 7580894..8d9f4c1 100644 --- a/php-pecl-yac.spec +++ b/php-pecl-yac.spec @@ -35,10 +35,12 @@ URL: https://pecl.php.net/package/%{pecl_name} Release: 0.13.%{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: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif +Patch0: %{pecl_name}-php81.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -110,6 +112,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 + %if %{with_fastlz} sed -e '\:name="compressor/fastlz:d' -i ../package.xml rm -r compressor/fastlz @@ -272,6 +276,10 @@ fi %changelog +* Wed Aug 4 2021 Remi Collet - 2.3.0-4 +- add patch for test suite with 8.1.0beta2 from + https://github.com/laruence/yac/pull/120 + * Fri Apr 30 2021 Remi Collet - 2.3.0-3 - F34 rebuild for https://github.com/remicollet/remirepo/issues/174 -- cgit