[Rpm-maint] [rpm-software-management/rpm] Remove %ifarch-%endif from %debug_package macro (#635)

Panu Matilainen notifications at github.com
Wed Feb 20 08:01:24 UTC 2019


Err, what? You trimmed out the relevant part of that quote:

> You can of course define a macro that contains and %if-%else-%endif but that will only work as expected when expanded in a spec.

That macro is part of automated debuginfo generation and is only ever invoked in spec context, where %if is perfectly fine. That macro snippet is there to avoid debuginfo generation on noarch packages.

-- 
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/635#issuecomment-465466392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190220/aea3a51d/attachment.html>


More information about the Rpm-maint mailing list