class documentation
class RpmPkgPolicy(PkgPolicy):
Packaging policy for RPM
Class |
|
Container for changelog related policy settings |
Class |
|
Helper class for generating changelog entries from git commits |
Class Method | is |
Is this a valid orig source archive |
Class Variable | alnum |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | packagename |
Undocumented |
Class Variable | packagename |
Undocumented |
Class Variable | python |
Undocumented |
Class Variable | upstreamversion |
Undocumented |
Class Variable | upstreamversion |
Undocumented |
Class Variable | version |
Undocumented |
Is this a valid orig source archive
Parameters | |
filename:str | upstream source archive filename |
Returns | |
bool >>> RpmPkgPolicy.is_valid_orig_archive("foo/bar_baz.tar.gz") True >>> RpmPkgPolicy.is_valid_orig_archive("foo.bar.tar") True >>> RpmPkgPolicy.is_valid_orig_archive("foo.bar") False >>> RpmPkgPolicy.is_valid_orig_archive("foo.gz") False | true if valid upstream source archive filename |