[Rpm-maint] [rpm-software-management/rpm] Does it possible to override macro defined in spec file? (Discussion #3862)

Yang Kun notifications at github.com
Wed Jul 9 17:17:37 UTC 2025


I'm trying to override a macro in the following code snippets.

```spec
%global toolchain clang
%include other.spec
```

However, in `other.spec`, it defines `toolchain` to `gcc`.

Does it possible to override it in `other.spec` or prevent it overrode by `other.spec` without modify `other.spec`?

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

Message ID: <rpm-software-management/rpm/repo-discussions/3862 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250709/dcf67166/attachment.htm>


More information about the Rpm-maint mailing list