summaryrefslogtreecommitdiffstats
path: root/php-pecl-mcrypt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mcrypt.spec')
-rw-r--r--php-pecl-mcrypt.spec16
1 files changed, 7 insertions, 9 deletions
diff --git a/php-pecl-mcrypt.spec b/php-pecl-mcrypt.spec
index a1ff21c..42b4d3a 100644
--- a/php-pecl-mcrypt.spec
+++ b/php-pecl-mcrypt.spec
@@ -11,8 +11,8 @@
%bcond_without tests
-%global pie_vend pecl
-%global pie_proj mcrypt
+%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
@@ -21,15 +21,13 @@
Summary: Bindings for the libmcrypt library
Name: %{?scl_prefix}php-pecl-mcrypt
-Version: 1.0.7
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.0.9
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP-3.01
URL: https://pecl.php.net/package/mcrypt
Source0: https://pecl.php.net/get/%{sources}.tgz
-Patch0: 19.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.2
@@ -63,8 +61,6 @@ 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_MCRYPT_VERSION/{s/.* "//;s/".*$//;p}' php_mcrypt.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -176,7 +172,9 @@ 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
+* Tue Aug 5 2025 Remi Collet <remi@remirepo.net> - 1.0.9-1
+- update to 1.0.9
+- drop patch merged upstream
- re-license spec file to CECILL-2.1
- add pie virtual provides