From 47b0270c4470ba6e1c2131ea209e3edfd5947c4b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Sep 2023 10:31:37 +0200 Subject: update to 0.7.0 drop support for PHP 7 --- PHPINFO | 2 +- REFLECTION | 7 ++++--- php-pecl-rpminfo.spec | 10 +++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/PHPINFO b/PHPINFO index 6681dd5..df5522c 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ rpminfo rpminfo support => enabled -Extension version => 0.6.0 +Extension version => 0.7.0 RPM library version => 4.18.1 diff --git a/REFLECTION b/REFLECTION index 1c66d1a..65f990f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #97 rpminfo version 0.6.0 ] { +Extension [ extension #98 rpminfo version 0.7.0 ] { - Constants [278] { Constant [ string RPMVERSION ] { 4.18.1 } @@ -318,11 +318,12 @@ Extension [ extension #97 rpminfo version 0.6.0 ] { } Function [ function rpmvercmp ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ string $evr1 ] Parameter #1 [ string $evr2 ] + Parameter #2 [ ?string $operator = null ] } - - Return [ int ] + - Return [ int|bool ] } } } diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec index de3011f..187f14f 100644 --- a/php-pecl-rpminfo.spec +++ b/php-pecl-rpminfo.spec @@ -26,8 +26,8 @@ Summary: RPM information Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 0.6.0 -Release: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 0.7.0 +Release: 1%{?dist}%{!?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/%{pecl_name}-%{version}.tgz @@ -35,7 +35,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: pkgconfig(rpm) >= 4.11.3 -BuildRequires: %{?scl_prefix}php-devel >= 7.2 +BuildRequires: %{?scl_prefix}php-devel >= 8 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -213,6 +213,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Sep 26 2023 Remi Collet - 0.7.0-1 +- update to 0.7.0 +- drop support for PHP 7 + * Wed Aug 30 2023 Remi Collet - 0.6.0-7 - rebuild for PHP 8.3.0RC1 -- cgit