mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-26 23:16:26 +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
|
# do rpm autochangelog logic here
|
||||||
if HAS_RPMAUTOSPEC and os.path.exists(source_git_repo_changelog):
|
if HAS_RPMAUTOSPEC and os.path.exists(source_git_repo_changelog):
|
||||||
# Check that the spec file really has %autochangelog
|
# Check that the spec file really has %autochangelog
|
||||||
|
AUTOCHANGELOG = False
|
||||||
for line in source_git_repo_spec:
|
for line in source_git_repo_spec:
|
||||||
if re.search('^%autochangelog', line):
|
if re.search('^%autochangelog', line):
|
||||||
print('autochangelog found')
|
print('autochangelog found')
|
||||||
|
Loading…
Reference in New Issue
Block a user