[Rpm-maint] Patch: repair nosource/nopatch tag insertion
Panu Matilainen
pmatilai at laiskiainen.org
Tue Apr 13 06:03:36 UTC 2010
On Fri, 9 Apr 2010, Michael Schroeder wrote:
> rpm does not allow headerPutUint32 on internal tags, so use
> headerPut instead. Maybe NOSOURCE/NOPATCH should not be internal
> at all, though. They are useful to check if a rpm is "src" or
> "nosrc", there is no other way to detect this.
Nod, by my definition a tag which end up in the headers are not internal.
They're "exported" now in HEAD so headerPutUint32() works and they can be
queried too.
>
> Also fixes a copy&paste error, the code used RPMTAG_NOSOURCE instead
> of RPMTAG_NOPATCH.
Oops. Thanks for pointing this out, also fixed in HEAD now.
- Panu -
More information about the Rpm-maint
mailing list