module documentation
        
        Build an RPM package out of a Git repository
| Exception |  | 
    Undocumented | 
| Function | build | 
    Construct config/option parser | 
| Function | create | 
    Create a packaging/release Git tag | 
| Function | disable | 
    Disable all hooks (except for builder) | 
| Function | get | 
    Get the currently checked-out branch | 
| Function | get | 
    Get/create a tree-ish to be used for exporting and diffing. Accepts special keywords for git index and working copies. | 
| Function | get | 
    Determine the upstream tree from the given options | 
| Function | get | 
    Get the info for spec vcs tag | 
| Function | git | 
    Create a compressed orig tarball in output_dir using git_archive | 
| Function | git | 
    Build orig tarball using git-archive | 
| Function | is | 
    Determine whether a package is native or non-native | 
| Function | main | 
    Entry point for gbp-buildpackage-rpm | 
| Function | makedir | 
    Create directory | 
| Function | packaging | 
    Compose packaging tag name and msg | 
| Function | parse | 
    Parse config and command line arguments | 
| Function | prepare | 
    Make sure we have an upstream tarball | 
| Function | pristine | 
    Build orig using pristine-tar | 
| Function | setup | 
    Setup args and options for builder script | 
| Function | setup | 
    setup everything to use gbp-builder-mock | 
Get/create a tree-ish to be used for exporting and diffing. Accepts special keywords for git index and working copies.
Build orig tarball using git-archive
| Parameters | |
repo:RpmGitRepository | our git repository | 
spec:SpecFile | spec file of the package | 
| output | where to put the tarball | 
| options:dict of options | the parsed options | 
| Returns | |
| str | the tree we built the tarball from |