[Rpm-maint] [rpm-software-management/rpm] Define a macro if it is not defined (Discussion #2342)
Panu Matilainen
notifications at github.com
Tue Jan 10 09:05:35 UTC 2023
`%global` itself expands to empty, not the defined value. Eg.
```
[pmatilai🎩︎localhost ~]$ rpm --eval "%global major 22"
[pmatilai🎩︎localhost ~]$ rpm --eval "%global major 22" --eval "%{major}"
22
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2342#discussioncomment-4642795
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2342/comments/4642795 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230110/e4cf7439/attachment-0001.html>
More information about the Rpm-maint
mailing list