summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-12 10:25:37 +0100
committerRemi Collet <remi@remirepo.net>2020-03-12 10:25:37 +0100
commitaeee90d0196b94f23358a0410a8742d13908abe7 (patch)
treee3542ac098cb59946106ffee2da8e98d0a5a4b0c /README.md
parent017e18c8d0dd45074423f0ac08191d7456bf710b (diff)
use upstream name and expose all RPMTAG_*
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9f5e430..1615626 100644
--- a/README.md
+++ b/README.md
@@ -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