rpm spec file prevent macros from expanding
Domen Vrankar
domen.vrankar at gmail.com
Mon Jul 18 21:27:45 UTC 2016
Hi,
I'm trying to prevent a macro in spec file from expanding and I've
read that rewriting %{dist} (and probably %{?dist}) to %%{dist} in
comments would do the trick.
I was surprised that it doesn't seem to work outside comments so my
question is if there is a different way of preventing certain defined
macros from expanding?
(not all of the instances of that macro but only one instance that I'd
wish to treat as normal text and not as a macro)
Thanks,
Domen
More information about the Rpm-list
mailing list