From fbeacc30b3beeb25a5003b2cd47d0178b0193bde Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Feb 2024 15:20:37 +0100 Subject: fix BuildRequires for libpq-devel --- php-pecl-openswoole22.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-pecl-openswoole22.spec b/php-pecl-openswoole22.spec index e0980b6..54478c0 100644 --- a/php-pecl-openswoole22.spec +++ b/php-pecl-openswoole22.spec @@ -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: 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;')}} # SPDX: extension is Apache-2.0 # hiredis is BSD-3-Clause License: Apache-2.0 AND BSD-3-Clause @@ -62,7 +62,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 @@ -299,6 +299,9 @@ OPT="--no-php-ini" %changelog +* Mon Feb 19 2024 Remi Collet - 22.0.0-4 +- fix BuildRequires for libpq-devel + * Mon Sep 4 2023 Remi Collet - 22.0.0-3 - build out of sources tree - add patch for PHP 8.3 from -- cgit