diff options
| -rw-r--r-- | php-pecl-mcrypt.spec | 19 | 
1 files changed, 13 insertions, 6 deletions
diff --git a/php-pecl-mcrypt.spec b/php-pecl-mcrypt.spec index c592658..a1ff21c 100644 --- a/php-pecl-mcrypt.spec +++ b/php-pecl-mcrypt.spec @@ -1,8 +1,8 @@  # remirepo spec file for php-pecl-mcrypt  # -# Copyright (c) 2017-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText:  Copyright 2017-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt  #  # Please, preserve the changelog entries  # @@ -11,6 +11,8 @@  %bcond_without         tests +%global pie_vend         pecl +%global pie_proj         mcrypt  %global with_zts       0%{!?_without_zts:%{?__ztsphp:1}}  %global pecl_name      mcrypt  %global ini_name       30-%{pecl_name}.ini @@ -20,7 +22,7 @@  Summary:      Bindings for the libmcrypt library  Name:         %{?scl_prefix}php-pecl-mcrypt  Version:      1.0.7 -Release:      2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:      3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:      PHP-3.01  URL:          https://pecl.php.net/package/mcrypt @@ -37,8 +39,9 @@ BuildRequires: %{?scl_prefix}php-pear  Requires:     %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:     %{?scl_prefix}php(api) = %{php_core_api} -Provides:     %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} -Provides:     %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides:     %{?scl_prefix}php-pecl(%{pecl_name})           = %{version} +Provides:     %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa}   = %{version} +Provides:     %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}  # Set epoch so provides is > 0:7.1  Obsoletes:    %{?scl_prefix}php-%{pecl_name}         < 7.2  Provides:     %{?scl_prefix}php-%{pecl_name}         = 1:%{version}-%{release} @@ -173,6 +176,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \  %changelog +* Tue Aug  5 2025 Remi Collet <remi@remirepo.net> - 1.0.7-3 +- re-license spec file to CECILL-2.1 +- add pie virtual provides +  * Wed Jul 10 2024 Remi Collet <remi@remirepo.net> - 1.0.7-2  - fix build with PHP 8.4 using patch from    https://github.com/php/pecl-encryption-mcrypt/pull/19  | 
