diff options
-rw-r--r-- | php-pecl-gearman.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec index 3612df5..814807d 100644 --- a/php-pecl-gearman.spec +++ b/php-pecl-gearman.spec @@ -22,13 +22,15 @@ Name: %{?scl_prefix}php-pecl-gearman Version: 2.1.4 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: PHP wrapper to libgearman License: PHP-3.01 URL: https://pecl.php.net/package/gearman Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: 41.patch + BuildRequires: libgearman-devel > %{libver} BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -66,6 +68,8 @@ sed -e 's/role="test"/role="src"/' \ pushd %{sources} +%patch -P0 -p1 + extver=$(sed -n '/#define PHP_GEARMAN_VERSION/{s/.* "//;s/".*$//;p}' php_gearman.h) if test "x${extver}" != "x%{version}"; then : Error: Upstream version is ${extver}, expecting %{version}. @@ -162,6 +166,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jul 17 2025 Remi Collet <remi@remirepo.net> - 2.1.4-2 +- add fix for PHP 8.5.0alpha2 using patch from + https://github.com/php/pecl-networking-gearman/pull/41 + * Wed Jan 8 2025 Remi Collet <remi@remirepo.net> - 2.1.4-1 - update to 2.1.4 - raise dependency on PHP 7.1 |