summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION7
-rw-r--r--php-pecl-rpminfo.spec10
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 [ <persistent> extension #97 rpminfo version 0.6.0 ] {
+Extension [ <persistent> extension #98 rpminfo version 0.7.0 ] {
- Constants [278] {
Constant [ string RPMVERSION ] { 4.18.1 }
@@ -318,11 +318,12 @@ Extension [ <persistent> extension #97 rpminfo version 0.6.0 ] {
}
Function [ <internal:rpminfo> function rpmvercmp ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> string $evr1 ]
Parameter #1 [ <required> string $evr2 ]
+ Parameter #2 [ <optional> ?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 <remi@remirepo.net> - 0.7.0-1
+- update to 0.7.0
+- drop support for PHP 7
+
* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 0.6.0-7
- rebuild for PHP 8.3.0RC1