mfocko / centos / centpkg

Forked from centos/centpkg 5 months ago
Clone

875769 Do not expect the package name to be second

Authored and Committed by Matej Focko 5 months ago
    Do not expect the package name to be second
    
    Do not assume that the package name is second when validating the
    spelling of the package name with a specified namespace.
    
    This holds for CentOS itself as there is only one namespace in front of
    the package, e.g., `rpms` or `modules`. However when using the
    `centpkg-sig`, the packages reside under the SIGs' namespace adding
    an additional layer which yields the `rpms` for second part of the path
    instead of the package name.
    
    Signed-off-by: Matej Focko <mfocko@redhat.com>
    
        
file modified
+1 -1