From a960d81bb11ab6b259c5a73720c38bc388dfae5a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Feb 2024 15:17:53 +0100 Subject: fix BuildRequires for libpq-devel --- php-pecl-openswoole22.spec | 9 ++++++--- 1 file 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 - 22.1.2-2 +- fix BuildRequires for libpq-devel + * Mon Dec 11 2023 Remi Collet - 22.1.2-1 - update to 22.1.2 -- cgit