From 8997cc9cfca46c31d20a8e91372d63536f19ef0c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Dec 2024 09:08:31 +0100 Subject: add rpmexpand, rpmexpandnumeric to retrieve rpm macro value add rpmdefine to set rpm macro value --- rpminfo.stub.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rpminfo.stub.php') 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 {} + -- cgit