dcallagh / rpmfluff

Forked from rpmfluff 7 years ago
Clone

810bf12 support mixing noarch and archful packages in a yum repo build

Authored and Committed by Dan Callaghan 6 years ago
1 file changed. 18 lines added. 2 lines removed.
    support mixing noarch and archful packages in a yum repo build
    
    Currently the YumRepoBuild class assumes that *every* package you pass
    to it was built for the requested architecture. But this makes it
    impossible to put noarch packages into the repository, because
    YumRepoBuild will look for an arch-specific package when only a noarch
    package was produced.
    
    Change YumRepoBuild to only copy over packages if they actually produced
    the requested arch, otherwise skip them.
    
        
file modified
+18 -2