[Rpm-maint] [rpm-software-management/rpm] Conditional macro expansion fails (#127)

Panu Matilainen notifications at github.com
Mon Jan 16 10:48:05 UTC 2017

I didn't really mean to, but ended up looking at this a bit more.

It's by no means just the font-packages that break, there are all sorts of other cases too, at least:
- passing arguments starting with "-" by passing them in as macros (%py2_build etc macros, some java packages) which now fail as invalid options. This is basically abuse, using "--" to separate arguments from options actually works but isn't widely known or documented.
- %systemd_user_post macro fails with recursion loop on %{?*}

Breakage on automatic macros is not a big surprise considering this changes scoping rules in some ways.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170116/d22820a7/attachment.html>

More information about the Rpm-maint mailing list