#26 Allow setting a different spec file basename than the package name.
Merged by jhutar. Opened by dcantrel.
dcantrel/rpmfluff master  into  master

Download 26.patch

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.

@jhutar @ignatenkobrain thoughts on this PR? It seems safe enough, and it's something we can use in the rpminspect project as well.

Oh sorry. I have missed it. "7 months ago" - sorry for that!

Pull-Request has been merged by jhutar

Thanks!

Metadata