[Rpm-maint] [rpm-software-management/rpm] error in the docs (at rpm.org): exclamation mark is missing (#339)
Ivan Zakharyaschev
notifications at github.com
Tue Oct 24 12:23:44 UTC 2017
When reading <http://rpm.org/user_doc/macros.html>, an exclamation mark is missing:
There are also provisions for including text if flag was present using “%{-f:X}”. This macro expands to (the expansion of) X if the flag was present. The negative form, “%{-f:Y}”, expanding to (the expansion of) Y if -f was not present, is also supported.
whereas <http://ftp.rpm.org/api/4.4.2.2/macros.html> is correct at this place:
There are also provisions for including text if flag was present using "%{-f:X}". This macro expands to (the expansion of) X if the flag was present. The negative form, "%{!-f:Y}", expanding to (the expansion of) Y if -f was *not* present, is also supported.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171024/51460a50/attachment.html>
More information about the Rpm-maint
mailing list