as far as possible. This allows setting these tags during the build using the 
dynamic spec feature.

Move

copyTagsDuringParse
requiredTags
optionalTags
isMemberInEntry()
checkForValidArchitectures()
checkForRequired()
checkForDuplicates()
fillOutMainPackage()
copyInheritedTags()

from build/parsePreamble.c to build/parseSpec.c

Use an already existing main package in parsePreamble()

New function finalizeSourceHeader() to move some initialization after build.

Add RPMSPEC_DONTFINALIZE flag to delay package finialization after the build in 
rpmbuild. rpmspec and API parsing without the flag still finializes the 
packages right away.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move checks and package initialization after build

-- File Changes --

    M build/parsePreamble.c (221)
    M build/parseSpec.c (317)
    M include/rpm/rpmspec.h (1)
    M rpmbuild.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2646.patch
https://github.com/rpm-software-management/rpm/pull/2646.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2646
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to