[Rpm-maint] [rpm-software-management/rpm] build: better warning for non-unique %files section (#91)
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...
More information about the Rpm-maint