summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-18 15:44:50 +0100
committerRemi Collet <remi@remirepo.net>2020-03-18 15:44:50 +0100
commitd1480c8aa506461f5d67a967511f8a5bfa1fe21b (patch)
treef64157a825c828d1646b8ba57a2fcf7c1af365d9
parent0374a9ecd18ecb27d09a43b1fb9d94ea768ad3b5 (diff)
update to 0.4.1
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION28
-rw-r--r--php-pecl-rpminfo.spec5
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 [ <persistent> extension #94 rpminfo version 0.4.0 ] {
+Extension [ <persistent> extension #94 rpminfo version 0.4.1 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -278,33 +278,37 @@ Extension [ <persistent> extension #94 rpminfo version 0.4.0 ] {
Function [ <internal:rpminfo> function rpmdbinfo ] {
- Parameters [2] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $full ]
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <optional> bool $full ]
}
+ - Return [ array or NULL ]
}
Function [ <internal:rpminfo> function rpmdbsearch ] {
- Parameters [4] {
- Parameter #0 [ <required> $pattern ]
- Parameter #1 [ <optional> $rpmtag ]
- Parameter #2 [ <optional> $rpmmire ]
- Parameter #3 [ <optional> $full ]
+ 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 $name ]
+ 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 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 <remi@remirepo.net> - 0.4.1-1
+- update to 0.4.1
+
* Fri Mar 13 2020 Remi Collet <remi@remirepo.net> - 0.4.0-1
- update to 0.4.0 (stable)