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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to