diff options
Diffstat (limited to 'php-pecl-yaf.spec')
-rw-r--r-- | php-pecl-yaf.spec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec index 3600747..d2f13b7 100644 --- a/php-pecl-yaf.spec +++ b/php-pecl-yaf.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-pecl-yaf # -# Copyright (c) 2012-2024 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2012-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -24,7 +24,7 @@ Summary: Yet Another Framework Name: %{?scl_prefix}php-pecl-yaf Version: 3.3.6 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 URL: https://pecl.php.net/package/yaf Source0: https://pecl.php.net/get/%{sources}%{?prever}.tgz @@ -33,12 +33,12 @@ Source1: %{pecl_name}.ini Patch0: %{pecl_name}-upstream.patch Patch1: 0001-remove-trailing-space.patch Patch2: 0002-relax-test-expectations-for-8.4.patch +Patch3: 0003-Fix-for-PHP-8.5.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear -BuildRequires: pcre-devel # for tests BuildRequires: %{?scl_prefix}php-json @@ -70,6 +70,7 @@ cd %{sources} %patch -P0 -p1 %patch -P1 -p1 %patch -P2 -p1 +%patch -P3 -p1 # Sanity check, really often broken extver=$(sed -n '/#define PHP_YAF_VERSION/{s/.*\t"//;s/".*$//;p}' php_yaf.h ) @@ -171,6 +172,14 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Jul 18 2025 Remi Collet <remi@remirepo.net> - 3.3.6-5 +- fix PHP 8.5.0alpha2 build using patch from + https://github.com/laruence/yaf/pull/594 +- re-license spec file to CECILL-2.1 + +* Tue Nov 26 2024 Remi Collet <remi@remirepo.net> - 3.3.6-4 +- drop BR on pcre-devel + * Tue Oct 1 2024 Remi Collet <remi@remirepo.net> - 3.3.6-3 - fix PHP 8.4 build using patch from https://github.com/laruence/yaf/pull/594 |