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

Reply via email to