From 985ead86de7237960570d4ad9fe56a0e5158cc75 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Mar 2020 09:27:59 +0100 Subject: v0.4.2 --- PHPINFO | 2 +- REFLECTION | 29 +++++++++++++++++------------ php-pecl-rpminfo.spec | 5 ++++- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/PHPINFO b/PHPINFO index 89d1591..9dcca65 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ rpminfo rpminfo support => enabled -Extension version => 0.3.0 +Extension version => 0.4.2 RPM library version => 4.15.1 diff --git a/REFLECTION b/REFLECTION index daba10b..206f5b8 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #94 rpminfo version 0.3.0 ] { +Extension [ extension #94 rpminfo version 0.4.2 ] { - Constants [271] { Constant [ string RPMVERSION ] { 4.15.1 } @@ -278,32 +278,37 @@ Extension [ extension #94 rpminfo version 0.3.0 ] { Function [ function rpmdbinfo ] { - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $full ] + Parameter #0 [ string $nevr ] + Parameter #1 [ bool $full ] } + - Return [ array or NULL ] } Function [ function rpmdbsearch ] { - - Parameters [3] { - Parameter #0 [ $pattern ] - Parameter #1 [ $rpmtag ] - Parameter #2 [ $rpmmire ] + - Parameters [4] { + 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 $path ] + 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 0170f99..961dd4a 100644 --- a/php-pecl-rpminfo.spec +++ b/php-pecl-rpminfo.spec @@ -19,7 +19,7 @@ Summary: RPM information Name: php-pecl-%{pecl_name} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} License: PHP URL: https://pecl.php.net/package/%{pecl_name} @@ -166,6 +166,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Mar 25 2020 Remi Collet - 0.4.2-1 +- update to 0.4.2 + * Wed Mar 18 2020 Remi Collet - 0.4.1-1 - update to 0.4.1 -- cgit