diff options
Diffstat (limited to 'php-pecl-pq.spec')
-rw-r--r-- | php-pecl-pq.spec | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index adad0ab..d3a2006 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-pecl-pq # -# Copyright (c) 2014-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -23,11 +23,13 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.2.3 -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;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz License: BSD-2-Clause URL: https://pecl.php.net/package/%{pecl_name} +Patch0: 53.patch + BuildRequires: libpq-devel > 9 BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -74,6 +76,8 @@ sed -e '/role="test"/d' \ -i package.xml cd %{sources} +%patch -P0 -p1 -b .pr53 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_PQ_VERSION/{s/.* "//;s/".*$//;p}' php_pq.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -221,6 +225,11 @@ exit $RET %changelog +* Tue Jul 8 2025 Remi Collet <remi@remirepo.net> - 2.2.3-3 +- re-license spec file to CECILL-2.1 +- add patch for test suite with PHP 8.5 from + https://github.com/m6w6/ext-pq/pull/53 + * Fri Feb 16 2024 Remi Collet <remi@remirepo.net> - 2.2.3-2 - F40: fix build dependencies |