I would like to work with .spec files which are located in subdirectories of a git repository but that doesn't work because rpmautospec initializes the pygit2.Repository with the parent directory of the provided spec file. The pygit2.discover_repository could be used to find the correct repository path.
I would like to work with
.spec
files which are located in subdirectories of a git repository but that doesn't work becauserpmautospec
initializes thepygit2.Repository
with the parent directory of the provided spec file. Thepygit2.discover_repository
could be used to find the correct repository path.