summaryrefslogtreecommitdiffstats
path: root/php-pecl-openswoole22.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-19 15:17:53 +0100
committerRemi Collet <remi@php.net>2024-02-19 15:17:53 +0100
commita960d81bb11ab6b259c5a73720c38bc388dfae5a (patch)
tree00d4c52bb455a2ff5b1eaa8575485af5c35cc4a4 /php-pecl-openswoole22.spec
parenteb5dca9010c7f4b233ccbc04f0d6e00e743ca1e4 (diff)
fix BuildRequires for libpq-develHEADmaster
Diffstat (limited to 'php-pecl-openswoole22.spec')
-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