summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-pq.spec12
1 files 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 <remi@remirepo.net> - 2.2.3-2
+- F40: fix build dependencies
+
* Tue Feb 6 2024 Remi Collet <remi@remirepo.net> - 2.2.3-1
- update to 2.2.3
- drop patch merged upstream