rpminfo
pecl.php.net
RPM information
Retrieve RPM information using librpm.
Available functions:
- rpmvercmp to compare 2 EVRs
- rpminfo to retrieve information from a RPM file
- rpmdbinfo to rerieve information from an installed RPM
Remi Collet
remi
remi@php.net
yes
2020-03-11
0.3.0dev
0.2.0
beta
beta
PHP 3.01
- add match_mode parameters to rpmdbinfo function allowing
to search packages with name matching a glob or a regex.
7.0.0
1.10.0
rpminfo
2020-03-11
0.2.3
0.2.0
beta
beta
PHP 3.01
- fix gh#2 free allocated iterators to avoid "DB2053 Freeing read locks..." messages
2020-03-11
0.2.2
0.2.0
beta
beta
PHP 3.01
- Fix gh#1 rpmvercmp() incorrect comparison result
2018-02-12
0.2.1
0.2.0
beta
beta
PHP 3.01
- add summary in minimal information set
- retrieve array from metadata
- add RPMSENSE_* macros
2018-02-08
0.2.0
0.2.0
beta
beta
PHP 3.01
- new function:
array rpmdbinfo(string name [, bool full]);
2018-02-08
0.1.3dev
0.1.0
alpha
alpha
PHP 3.01
- first pecl release
- rpminfo(): add option to retrieve error message instead of raising a warning
2018-01-26
0.1.1
0.1.0
alpha
alpha
PHP 3.01
- fix segfault in ZTS mode
- define RPMVERSION constant
2018-01-26
0.1.0
0.1.0
beta
beta
PHP 3.01
- first release with 2 functions:
int rpmvercmp(string evr1, string evr2);
array rpminfo(string path [, bool full]);