[Rpm-maint] [rpm-software-management/rpm] Warn on undefined macro uses in specs (#1170)
Panu Matilainen
notifications at github.com
Wed Apr 8 13:41:20 UTC 2020
Implement a warn-on-undefined macro use flag in the macro engine, use
when parsing specs. We only cover %{...} macros as specs consist of numerous
directives starting with % that are not macros at all.
This uncovers a mountain of dirt, including in our own test-suite.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1170
-- Commit Summary --
* Warn on undefined macro uses in specs
-- File Changes --
M build/parseSpec.c (2)
M rpmio/macro.c (9)
M rpmio/rpmmacro.h (2)
M tests/data/SPECS/configtest.spec (1)
M tests/data/SPECS/replacetest.spec (1)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1170.patch
https://github.com/rpm-software-management/rpm/pull/1170.diff
--
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/pull/1170
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200408/17366f7f/attachment-0001.html>
More information about the Rpm-maint
mailing list