diff options
Diffstat (limited to 'php-pecl-imap.spec')
-rw-r--r-- | php-pecl-imap.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-imap.spec b/php-pecl-imap.spec index 666e926..06c1dc1 100644 --- a/php-pecl-imap.spec +++ b/php-pecl-imap.spec @@ -20,11 +20,12 @@ Summary: Extension to operate with the IMAP protocol Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.0.2 -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;')}} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz +Patch0: upstream.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -63,6 +64,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_IMAP_VERSION/{s/.* "//;s/".*$//;p}' php_imap.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -190,6 +193,9 @@ fi %changelog +* Thu Jan 4 2024 Remi Collet <remi@remirepo.net> - 1.0.2-2 +- add upstream patch to report extension version + * Thu Jan 4 2024 Remi Collet <remi@remirepo.net> - 1.0.2-1 - update to 1.0.2 |