diff options
Diffstat (limited to 'php-pecl-gnupg.spec')
-rw-r--r-- | php-pecl-gnupg.spec | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/php-pecl-gnupg.spec b/php-pecl-gnupg.spec index 40af0a0..fb93bf2 100644 --- a/php-pecl-gnupg.spec +++ b/php-pecl-gnupg.spec @@ -33,12 +33,14 @@ Summary: Wrapper around the gpgme library Name: %{?scl_prefix}php-pecl-gnupg Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -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;')} License: BSD-2-Clause URL: https://pecl.php.net/package/gnupg Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +Patch0: 57.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -82,6 +84,10 @@ extension=%{pecl_name}.so EOF cd %{sources} +%if "%{php_version}" > "7.0" +%patch -P0 -p1 +%endif + # Check extension version extver=$(sed -n '/#define PHP_GNUPG_VERSION/{s/.* "//;s/".*$//;p}' php_gnupg.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -198,6 +204,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jul 17 2025 Remi Collet <remi@remirepo.net> - 1.5.3-2 +- add fix for PHP 8.5.0alpha2 using patch from + https://github.com/php-gnupg/php-gnupg/pull/57 + * Tue Jun 3 2025 Remi Collet <remi@remirepo.net> - 1.5.3-1 - update to 1.5.3 - drop patch merged upstream |