mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-23 05:31:30 +00:00
add autochangelog logic
This commit is contained in:
parent
3e925ca471
commit
90aa3e2016
@ -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 New Issue
Block a user