summaryrefslogtreecommitdiffstats
path: root/rpminfo.stub.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-19 09:08:31 +0100
committerRemi Collet <remi@php.net>2024-12-19 09:08:31 +0100
commit8997cc9cfca46c31d20a8e91372d63536f19ef0c (patch)
tree405dfdb8633845faa8ca151b77885fa15d2493af /rpminfo.stub.php
parentdeb0dd428220509aa74242a230586065c3df53ff (diff)
add rpmexpand, rpmexpandnumeric to retrieve rpm macro value
add rpmdefine to set rpm macro value
Diffstat (limited to 'rpminfo.stub.php')
-rw-r--r--rpminfo.stub.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpminfo.stub.php b/rpminfo.stub.php
index aa87215..026df4b 100644
--- a/rpminfo.stub.php
+++ b/rpminfo.stub.php
@@ -13,3 +13,10 @@ function rpminfo(string $path, bool $full = false, ?string &$error = null): Arra
function rpmvercmp(string $evr1, string $evr2, ?string $operator = null): int|bool {}
function rpmgetsymlink(string $path, string $name): string|null {}
+
+function rpmexpand(string $text): string {}
+
+function rpmexpandnumeric(string $text): int {}
+
+function rpmdefine(string $macro): bool {}
+