[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm macro processor (PR #3781)

Michal Domonkos notifications at github.com
Fri Jun 13 14:24:05 UTC 2025


@dmnks commented on this pull request.



> +
+Note that in rpm >= 4.17, conditionals on built-in macros simply test for
+existence of that built-in, just like with any other macros.
+In older versions, the behavior of conditionals on built-ins is undefined.
+
+## Expression expansion
+Expression expansion can be performed using *%[expression]*.  An
+expression consists of terms that can be combined using
+operators.
+
+Rpm supports three kinds of terms:
+- numbers made up from digits
+- strings enclosed in double quotes (eg *"somestring"*)
+- versions enclosed in double quotes preceded by *v* (eg *v"3:1.2-1"*).
+
+Rpm will expand macros when evaluating terms.

Rpm -> RPM

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3781#pullrequestreview-2925022259
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3781/review/2925022259 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250613/bd9e1597/attachment.htm>


More information about the Rpm-maint mailing list