[Rpm-maint] [rpm-software-management/rpm] RFE: support -g(lobal) and -e(xpand) options to %define (Issue #4163)

Panu Matilainen notifications at github.com
Wed Mar 25 09:52:42 UTC 2026


pmatilai created an issue (rpm-software-management/rpm#4163)

Lifting the idea from https://github.com/rpm-software-management/rpm/issues/1155:

`%global` is a blunt hammer, sometimes you'd just want one or the other of its side-effects. We should add these as options to the `%define` built-in instead:
- `-g` to place a macro in the global context
- `-e` to expand at the time of definition
- `%define -ge` is exactly the equivalent of using `%global`

Probably worth having a look at #1314 when adding, but not a blocker.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4163
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/4163 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260325/6682f9f8/attachment.htm>


More information about the Rpm-maint mailing list