e46b929 Limit %selinux_requires to version, not release

Authored and Committed by yselkowitz 4 months ago
    Limit %selinux_requires to version, not release
    
    Using exact NVR dependencies works well within RPMS from a single SRPM,
    but otherwise relies on assumptions which do not always hold out.
    Because %release includes %dist, this is particularly fragile in the
    context of the Rawhide->ELN->c10s build pipeline.  For instance, if a
    package which uses %selinux_requires gets built for ELN with the rawhide
    selinux-policy, then .fcNN will be hardcoded into the ELN build, and the
    ELN build with .elnNNN will never meet the condition (since f > e).
    
        
file modified
+5 -2