dcantrel / rpmfluff

Forked from rpmfluff 4 years ago
Clone

c35cda1 Allow setting a different spec file basename than the package name.

Authored and Committed by dcantrell 4 years ago
1 file changed. 10 lines added. 1 lines removed.
    Allow setting a different spec file basename than the package name.
    
    This is to support a test case I want to have in rpminspect.  Per
    packaging policy in Fedora, we require the SRPM file spec file basename
    to match the package name.  For example, the gcc package must come with
    a gcc.spec file, not gcc-is-a-compiler.spec file.  With this patch you
    can do:
    
        addSpecBasename("sometext")
    
    And override the default spec filename generated from using self.name
    to the text you provide.
    
        
file modified
+10 -1