summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-25 09:27:59 +0100
committerRemi Collet <remi@remirepo.net>2020-03-25 09:27:59 +0100
commit985ead86de7237960570d4ad9fe56a0e5158cc75 (patch)
treeedd1b278ed62b8fd9883644cc30ad06f592bdf95
parent62db2cdbce479d5cb0b46295e512eb5accf4874a (diff)
v0.4.2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION29
-rw-r--r--php-pecl-rpminfo.spec5
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 [ <persistent> extension #94 rpminfo version 0.3.0 ] {
+Extension [ <persistent> extension #94 rpminfo version 0.4.2 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -278,32 +278,37 @@ Extension [ <persistent> extension #94 rpminfo version 0.3.0 ] {
Function [ <internal:rpminfo> function rpmdbinfo ] {
- Parameters [2] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $full ]
+ Parameter #0 [ <required> string $nevr ]
+ Parameter #1 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmdbsearch ] {
- - Parameters [3] {
- Parameter #0 [ <required> $pattern ]
- Parameter #1 [ <optional> $rpmtag ]
- Parameter #2 [ <optional> $rpmmire ]
+ - Parameters [4] {
+ Parameter #0 [ <required> string $pattern ]
+ Parameter #1 [ <optional> int $rpmtag ]
+ Parameter #2 [ <optional> int $rpmmire ]
+ Parameter #3 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpminfo ] {
- Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <optional> $full ]
- Parameter #2 [ <optional> &$error ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <optional> bool $full ]
+ Parameter #2 [ <optional> string or NULL &$error ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmvercmp ] {
- Parameters [2] {
- Parameter #0 [ <required> $evr1 ]
- Parameter #1 [ <required> $evr2 ]
+ Parameter #0 [ <required> string $evr1 ]
+ Parameter #1 [ <required> 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 <remi@remirepo.net> - 0.4.2-1
+- update to 0.4.2
+
* Wed Mar 18 2020 Remi Collet <remi@remirepo.net> - 0.4.1-1
- update to 0.4.1