diff options
Diffstat (limited to 'php-pecl-mailparse.spec')
-rw-r--r-- | php-pecl-mailparse.spec | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/php-pecl-mailparse.spec b/php-pecl-mailparse.spec index 859c239..fac1767 100644 --- a/php-pecl-mailparse.spec +++ b/php-pecl-mailparse.spec @@ -24,14 +24,12 @@ Summary: PHP PECL package for parsing and working with email messages Name: %{?scl_prefix}php-pecl-mailparse -Version: 3.1.6 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 3.1.8 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 URL: https://pecl.php.net/package/mailparse Source0: https://pecl.php.net/get/%{sources}.tgz -Patch0: 0001-use-zend_str_tolower-instead-of-php_strtolower.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.3 @@ -69,8 +67,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} -%patch -P0 -p1 - extver=$(sed -n '/#define PHP_MAILPARSE_VERSION/{s/.* "//;s/".*$//;p}' php_mailparse.h) if test "x${extver}" != "x%{version}"; then : Error: Upstream version is ${extver}, expecting %{version}. @@ -147,7 +143,7 @@ cd %{sources} TEST_PHP_EXECUTABLE=%{__php} \ %{__php} -n run-tests.php -n -q \ -d extension=mbstring.so \ - -d extension=$PWD/../NTS/modules/%{pecl_name}.so \ + -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --show-diff %endif @@ -157,15 +153,6 @@ TEST_PHP_EXECUTABLE=%{__php} \ --define extension=mbstring.so \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ --modules | grep '^%{pecl_name}$' - -%if %{with tests} -: Upstream test suite for ZTS extension -TEST_PHP_EXECUTABLE=%{__ztsphp} \ -%{__ztsphp} -n run-tests.php -n -q \ - -d extension=mbstring.so \ - -d extension=$PWD/../ZTS/modules/%{pecl_name}.so \ - --show-diff -%endif %endif @@ -184,6 +171,12 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \ %changelog +* Fri Oct 4 2024 Remi Collet <remi@remirepo.net> - 3.1.8-1 +- update to 3.1.8 + +* Fri Oct 4 2024 Remi Collet <remi@remirepo.net> - 3.1.7-1 +- update to 3.1.7 + * Wed Sep 25 2024 Remi Collet <remi@remirepo.net> - 3.1.6-3 - add upstream patch for PHP 8.4 |