diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-12 10:25:37 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-12 10:25:37 +0100 |
commit | aeee90d0196b94f23358a0410a8742d13908abe7 (patch) | |
tree | e3542ac098cb59946106ffee2da8e98d0a5a4b0c /README.md | |
parent | 017e18c8d0dd45074423f0ac08191d7456bf710b (diff) |
use upstream name and expose all RPMTAG_*
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -108,7 +108,7 @@ Retrieve information from rpm database about installed packages using glob or re The return value is an array of hash tables, or false if it fails. $ php -a - php > print_r(rpmdbsearch("php-pecl-r*", RPM_TAG_NAME, RPM_MATCH_GLOB)); + php > print_r(rpmdbsearch("php-pecl-r*", RPMTAG_NAME, RPMMIRE_GLOB)); Array ( [0] => Array @@ -138,7 +138,7 @@ The return value is an array of hash tables, or false if it fails. ) $ php -a - php > print_r(rpmdbsearch("^php-pecl-r", RPM_TAG_NAME, RPM_MATCH_REGEX)); + php > print_r(rpmdbsearch("^php-pecl-r", RPMTAG_NAME, RPMMIRE_REGEX)); Array ( [0] => Array @@ -168,7 +168,7 @@ The return value is an array of hash tables, or false if it fails. ) $ php -a - php > print_r(rpmdbsearch(PHP_BINARY, RPM_TAG_INSTFILENAMES)); + php > print_r(rpmdbsearch(PHP_BINARY, RPMTAG_INSTFILENAMES)); Array ( [0] => Array |