From d1480c8aa506461f5d67a967511f8a5bfa1fe21b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Mar 2020 15:44:50 +0100 Subject: update to 0.4.1 --- PHPINFO | 2 +- REFLECTION | 28 ++++++++++++++++------------ php-pecl-rpminfo.spec | 5 ++++- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/PHPINFO b/PHPINFO index 6e88184..3b19caa 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ rpminfo rpminfo support => enabled -Extension version => 0.4.0 +Extension version => 0.4.1 RPM library version => 4.15.1 diff --git a/REFLECTION b/REFLECTION index b3e30d0..9f3b4c6 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #94 rpminfo version 0.4.0 ] { +Extension [ extension #94 rpminfo version 0.4.1 ] { - Constants [271] { Constant [ string RPMVERSION ] { 4.15.1 } @@ -278,33 +278,37 @@ Extension [ extension #94 rpminfo version 0.4.0 ] { Function [ function rpmdbinfo ] { - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $full ] + Parameter #0 [ string $name ] + Parameter #1 [ bool $full ] } + - Return [ array or NULL ] } Function [ function rpmdbsearch ] { - Parameters [4] { - Parameter #0 [ $pattern ] - Parameter #1 [ $rpmtag ] - Parameter #2 [ $rpmmire ] - Parameter #3 [ $full ] + Parameter #0 [ string $pattern ] + Parameter #1 [ int $rpmtag ] + Parameter #2 [ int $rpmmire ] + Parameter #3 [ bool $full ] } + - Return [ array or NULL ] } Function [ function rpminfo ] { - Parameters [3] { - Parameter #0 [ $path ] - Parameter #1 [ $full ] - Parameter #2 [ &$error ] + Parameter #0 [ string $name ] + Parameter #1 [ bool $full ] + Parameter #2 [ string or NULL &$error ] } + - Return [ array or NULL ] } Function [ function rpmvercmp ] { - Parameters [2] { - Parameter #0 [ $evr1 ] - Parameter #1 [ $evr2 ] + Parameter #0 [ string $evr1 ] + Parameter #1 [ string $evr2 ] } + - Return [ int ] } } } diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec index ba38644..6f7de13 100644 --- a/php-pecl-rpminfo.spec +++ b/php-pecl-rpminfo.spec @@ -22,7 +22,7 @@ Summary: RPM information Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.4.0 +Version: 0.4.1 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: https://pecl.php.net/package/%{pecl_name} @@ -225,6 +225,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Mar 18 2020 Remi Collet - 0.4.1-1 +- update to 0.4.1 + * Fri Mar 13 2020 Remi Collet - 0.4.0-1 - update to 0.4.0 (stable) -- cgit