[Rpm-maint] [rpm-software-management/rpm] Question: the way to check if "load" macro is built-in in a spec file (#1104)

Vít Ondruch notifications at github.com
Mon Apr 20 07:30:40 UTC 2020


May be you could use alternative approach:

~~~
%{?load:%{SOURCE4}}
%if %{undefined some_known_macro_from_the_SOURCE4}
%include %{SOURCE100}
%{load %{SOURCE4}}
%endif
~~~

-- 
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/1104#issuecomment-616364383
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200420/8e5fa725/attachment.html>


More information about the Rpm-maint mailing list