[Rpm-maint] [rpm-software-management/rpm] build: better warning for non-unique %files section (#91)

Panu Matilainen notifications at github.com
Thu Sep 15 10:05:59 UTC 2016

Meh, sorry about the formatting, apparently github doesn't like copy-pasted diffs in comments...
Anyway, point being you dont need all that, just change the log line to something like this so it emits the name in all cases:

`rpmlog(RPMLOG_WARNING, _("line %d: second %%files for package %s\n"), spec->lineNum, rpmstrPoolStr(pkg->pool, pkg->name));`

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/20160915/fce022c8/attachment.html>

More information about the Rpm-maint mailing list