From f9793aa9e294dee99c3a0e5da795c7b87a4420bf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2024 13:51:26 +0100 Subject: F40: fix build dependencies --- php-pecl-pq.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index 9261ec2..f87d346 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -23,12 +23,12 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.2.3 -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;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz License: BSD-2-Clause URL: https://pecl.php.net/package/%{pecl_name} -%if 0%{?fedora} >= 29 && 0%{?rhel} >= 8 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 BuildRequires: libpq-devel > 9 %else BuildRequires: postgresql-devel > 9 @@ -166,11 +166,6 @@ fi : ignore tests with erratic results rm %{sources}/tests/cancel001.phpt rm %{sources}/tests/flush001.phpt -%if 0%{?rhel} == 7 -: https://github.com/m6w6/ext-pq/issues/42 -rm %{sources}/tests/async010.phpt -rm %{sources}/tests/gh-issue047_jsonb.phpt -%endif OPT="-n" [ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so" @@ -246,6 +241,9 @@ exit $RET %changelog +* Fri Feb 16 2024 Remi Collet - 2.2.3-2 +- F40: fix build dependencies + * Tue Feb 6 2024 Remi Collet - 2.2.3-1 - update to 2.2.3 - drop patch merged upstream -- cgit