ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone

9a522c Change versioned Conflicts to rich Requires

Authored and Committed by Zbigniew Jędrzejewski-Szmek a year ago
1 file changed. 2 lines added. 2 lines removed.
    Change versioned Conflicts to rich Requires
    
    ... (rhbz#2240828)
    
    We currently have grubby-8.40-72.fc39 and sdubby-1.0-3.fc39.
    systemd had 'Conflicts: grubby < 8.40-72', which is satisfied by grubby.
    But sdubby has 'Provides: grubby' (with no version), which prevented
    installation:
    
    $ sudo rpm -i ./sdubby-1.0-3.fc39.noarch.rpm
    error: Failed dependencies:
    	grubby < 8.40-72 conflicts with (installed) systemd-udev-254.2-7.fc39.x86_64
    
    The rpm docs don't actually say what the meaning of the 'if' is:
    is it only satisfied by actual package names, or also by Provides. But
    experiments suggest that Provides are not used. The rich dependency seems
    to avoid the issue.
    
        
file modified
+2 -2