summaryrefslogtreecommitdiffstats
path: root/php-pecl-pq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-pq.spec')
-rw-r--r--php-pecl-pq.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec
index 2519e75..8fde52c 100644
--- a/php-pecl-pq.spec
+++ b/php-pecl-pq.spec
@@ -27,7 +27,7 @@
Summary: PostgreSQL client library (libpq) binding
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.1.8
+Version: 2.2.0
%if 0%{?gh_date:1}
Release: 0.11.%{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
@@ -38,9 +38,6 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
-# Upstream patches
-Patch0: %{pecl_name}-php81.patch
-
%if 0%{?fedora} >= 29 && 0%{?rhel} >= 8
BuildRequires: libpq-devel > 9
%else
@@ -118,8 +115,6 @@ sed -e '/role="test"/d' \
-i package.xml
cd NTS
-%patch0 -p1
-
# 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
@@ -207,6 +202,10 @@ fi
: ignore tests with erratic results
rm ?TS/tests/cancel001.phpt
rm ?TS/tests/flush001.phpt
+%if 0%{?rhel} == 7
+: https://github.com/m6w6/ext-pq/issues/42
+rm ?TS/tests/async010.phpt
+%endif
OPT="-n"
[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
@@ -287,6 +286,9 @@ exit $RET
%changelog
+* Tue Aug 31 2021 Remi Collet <remi@remirepo.net> - 2.2.0-1
+- update to 2.2.0
+
* Wed Aug 4 2021 Remi Collet <remi@remirepo.net> - 2.1.8-6
- add patch for 8.1.0beta2 from
https://github.com/m6w6/ext-pq/pull/41