summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-pq.spec15
1 files changed, 5 insertions, 10 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec
index 9eab2b8..f53e23f 100644
--- a/php-pecl-pq.spec
+++ b/php-pecl-pq.spec
@@ -8,12 +8,6 @@
#
%{?scl:%scl_package php-pecl-pq}
-# Defined in Fedora >= 37 and RHEL >= 10, in PHP >= 7.4 for remirepo
-%{!?__phpize: %global __phpize %{_bindir}/phpize}
-%{!?__ztsphpize: %global __ztsphpize %{_bindir}/zts-phpize}
-%{!?__phpconfig: %global __phpconfig %{_bindir}/php-config}
-%{!?__ztsphpconfig:%global __ztsphpconfig %{_bindir}/zts-php-config}
-
# Build using "--without tests" to disable tests
%bcond_without tests
@@ -29,7 +23,7 @@
Summary: PostgreSQL client library (libpq) binding
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 2.2.2
-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}
@@ -54,7 +48,6 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-json%{?_isa}
Requires: %{?scl_prefix}php-raphf%{?_isa} >= 1.1.0
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
@@ -211,8 +204,7 @@ pg_ctl -D $DATABASE -l $PWD/server.log -w -t 200 start
createdb -h localhost -p $PORT rpmtest
cd %{sources}
-sed -e "/PQ_DSN/s/\"host.*\"/'host=localhost port=$PORT dbname=rpmtest'/" \
- -i tests/_setup.inc
+export PQ_DSN="host=localhost port=$PORT dbname=rpmtest"
: Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{__php} \
@@ -254,6 +246,9 @@ exit $RET
%changelog
+* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 2.2.2-2
+- rebuild for PHP 8.3.0RC1
+
* Mon Jun 12 2023 Remi Collet <remi@remirepo.net> - 2.2.2-1
- update to 2.2.2
- build out of sources tree