[Rpm-maint] [rpm-software-management/rpm] Handle DistTag (#594)

wladmis notifications at github.com
Wed Nov 7 10:17:51 UTC 2018


Related to #589.

I'm not sure, but if it is OK, there can be a new feature to handle `DistTag` (named `rpmlib(HandleDistTag)`, for example) that is required if there is non-empty `DistTag` while package is building.

Something like:

    +++ build/pack.c (in proper place):
    /* if DistTag is non-null, then we need to handle it */                                                                                                  
    if (headerGetString(pkg->header, RPMTAG_DISTTAG) != NULL)                                                                                                
       (void) rpmlibNeedsFeature(pkg, "HandleDistTag", "1.0.0-1");                                                                                           

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * lib/rpmdb.c: handle DistTag by dbiFindMatches and dbiFindByLabelArch (#589)

-- File Changes --

    M lib/rpmdb.c (28)

-- Patch Links --

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


More information about the Rpm-maint mailing list