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

Reply via email to