summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-pq.spec21
1 files changed, 16 insertions, 5 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec
index d3a2006..35ab051 100644
--- a/php-pecl-pq.spec
+++ b/php-pecl-pq.spec
@@ -13,6 +13,8 @@
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name pq
+%global pie_vend m6w6
+%global pie_proj ext-pq
#global prever RC1
%global ini_name 50-%{pecl_name}.ini
@@ -23,7 +25,7 @@
Summary: PostgreSQL client library (libpq) binding
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 2.2.3
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?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}
@@ -47,10 +49,15 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-json%{?_isa}
Requires: %{?scl_prefix}php-raphf%{?_isa} >= 1.1.0
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# Extension
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -225,6 +232,10 @@ exit $RET
%changelog
+* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 2.2.3-4
+- ignore 1 test failing with 8.5.0alpha3 reported as
+ https://github.com/m6w6/ext-pq/issues/54
+
* 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