From f775baccc19dc341e4a1d229c65fbab80c172387 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Mar 2023 07:24:00 +0100 Subject: update to 1.0.6 (no change) --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-mcrypt.spec | 25 ++++++++++++++----------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/PHPINFO b/PHPINFO index 0187842..f2935f8 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,7 +3,7 @@ mcrypt mcrypt support => enabled mcrypt_filter support => enabled -Extension version => 1.0.5 +Extension version => 1.0.6 Library version => 2.5.8 Api No => 20021217 Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes diff --git a/REFLECTION b/REFLECTION index ac13705..6021340 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #56 mcrypt version 1.0.5 ] { +Extension [ extension #56 mcrypt version 1.0.6 ] { - INI { Entry [ mcrypt.algorithms_dir ] diff --git a/php-pecl-mcrypt.spec b/php-pecl-mcrypt.spec index 304291d..4d0998a 100644 --- a/php-pecl-mcrypt.spec +++ b/php-pecl-mcrypt.spec @@ -1,7 +1,7 @@ # remirepo spec file for php-pecl-mcrypt # -# Copyright (c) 2017-2022 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2017-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -12,15 +12,17 @@ %{?scl: %scl_package php-pecl-mcrypt} +%bcond_without tests + %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name mcrypt %global ini_name 30-%{pecl_name}.ini Summary: Bindings for the libmcrypt library Name: %{?scl_prefix}php-pecl-mcrypt -Version: 1.0.5 +Version: 1.0.6 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -License: PHP +License: PHP-3.01 URL: https://pecl.php.net/package/mcrypt Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz @@ -43,7 +45,7 @@ Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}-%{release} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}-%{release} -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} == 7 Obsoletes: php54u-%{pecl_name} < 7.2 Obsoletes: php54w-%{pecl_name} < 7.2 Obsoletes: php55u-%{pecl_name} < 7.2 @@ -63,12 +65,6 @@ Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} %endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.1" -Obsoletes: php81-pecl-%{pecl_name} <= %{version} -%endif %endif @@ -168,10 +164,12 @@ OPT="%{?_smp_mflags} -q --show-diff" OPT="-q --show-diff" %endif +%if %{with tests} : upstream test suite for NTS extension TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ %{__php} -n run-tests.php $OPT +%endif %if %{with_zts} cd ../ZTS @@ -181,11 +179,13 @@ cd ../ZTS --define extension=%{pecl_name} \ --modules | grep %{pecl_name} +%if %{with tests} : upstream test suite for ZTS extension TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %{__ztsphp} -n run-tests.php $OPT %endif +%endif %if 0%{?fedora} < 24 && 0%{?rhel} < 8 @@ -223,6 +223,9 @@ fi %changelog +* Wed Mar 1 2023 Remi Collet - 1.0.6-1 +- update to 1.0.6 (no change) + * Mon May 23 2022 Remi Collet - 1.0.5-1 - update to 1.0.5 -- cgit