summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-openswoole22.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-pecl-openswoole22.spec b/php-pecl-openswoole22.spec
index 6dd94eb..1e1454d 100644
--- a/php-pecl-openswoole22.spec
+++ b/php-pecl-openswoole22.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-openswoole22
#
-# Copyright (c) 2013-2023 Remi Collet
+# Copyright (c) 2013-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -33,7 +33,7 @@
Summary: High Performance Programmatic Server for PHP with Async IO, Coroutines and Fibers
Name: %{?scl_prefix}php-pecl-%{pecl_name}22
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-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;')}}
# SPDX: extension is Apache-2.0
# hiredis is BSD-3-Clause
License: Apache-2.0 AND BSD-3-Clause
@@ -59,7 +59,7 @@ BuildRequires: c-ares-devel
BuildRequires: brotli-devel
%endif
%if %{with pgsql}
-%if 0%{?fedora} >= 29 && 0%{?rhel} >= 8
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
BuildRequires: libpq-devel > 9
%else
BuildRequires: postgresql-devel > 9
@@ -293,6 +293,9 @@ OPT="--no-php-ini"
%changelog
+* Mon Feb 19 2024 Remi Collet <remi@remirepo.net> - 22.1.2-2
+- fix BuildRequires for libpq-devel
+
* Mon Dec 11 2023 Remi Collet <remi@remirepo.net> - 22.1.2-1
- update to 22.1.2