[Rpm-maint] [rpm-software-management/rpm] Sanitize spec tag macro creation (#693)

Panu Matilainen notifications at github.com
Mon May 6 13:20:50 UTC 2019


Move the logic from the huge switch-case to a table for sanity, only create macros for the tags where it makes sense to do so.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/693

-- Commit Summary --

  * Move the "tag is also a macro" logic from switch-case to the table
  * Only create macros for the spec tags where it makes actual sense

-- File Changes --

    M build/parsePreamble.c (102)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/693.patch
https://github.com/rpm-software-management/rpm/pull/693.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/693
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190506/21b97d24/attachment.html>


More information about the Rpm-maint mailing list