mirror of
https://github.com/peridotbuild/pv2.git
synced 2025-01-03 00:00:56 +00:00
add autochangelog logic
This commit is contained in:
parent
3e925ca471
commit
90aa3e2016
1 changed files with 1 additions and 0 deletions
|
@ -813,6 +813,7 @@ class GitImport(Import):
|
|||
# do rpm autochangelog logic here
|
||||
if HAS_RPMAUTOSPEC and os.path.exists(source_git_repo_changelog):
|
||||
# Check that the spec file really has %autochangelog
|
||||
AUTOCHANGELOG = False
|
||||
for line in source_git_repo_spec:
|
||||
if re.search('^%autochangelog', line):
|
||||
print('autochangelog found')
|
||||
|
|
Loading…
Reference in a new issue