diff options
Diffstat (limited to 'php-pecl-nsq.spec')
-rw-r--r-- | php-pecl-nsq.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-nsq.spec b/php-pecl-nsq.spec index 2cad95e..ae11cde 100644 --- a/php-pecl-nsq.spec +++ b/php-pecl-nsq.spec @@ -22,11 +22,13 @@ Summary: PHP extension for NSQ client Name: %{?scl_prefix}php-pecl-nsq Version: 3.9.1 -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;')}} Source: https://pecl.php.net/get/%{sources}%{?prever}.tgz License: PHP-3.01 URL: https://pecl.php.net/package/nsq +Patch0: 82.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -59,6 +61,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} +%patch -P0 -p1 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_NSQ_VERSION/{s/.* "//;s/".*$//;p}' php_nsq.h ) if test "x${extver}" != "x%{version}"; then @@ -175,6 +179,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 3.9.1-2 +- fix build with PHP 8.5.0alpha3 using patch from + * Mon Jun 16 2025 Remi Collet <remi@remirepo.net> - 3.9.1-1 - update to 3.9.1 |