mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 20:51:26 +00:00
rpmautospec: lack of changelog file shouldn't matter
Signed-off-by: Louis Abel <label@rockylinux.org>
This commit is contained in:
parent
01a6696adc
commit
c2297d6189
@ -811,7 +811,8 @@ class GitImport(Import):
|
|||||||
source_git_repo_spec = self.find_spec_file(source_git_repo_path)
|
source_git_repo_spec = self.find_spec_file(source_git_repo_path)
|
||||||
|
|
||||||
# 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):
|
||||||
|
if HAS_RPMAUTOSPEC:
|
||||||
# Check that the spec file really has %autochangelog
|
# Check that the spec file really has %autochangelog
|
||||||
AUTOCHANGELOG = False
|
AUTOCHANGELOG = False
|
||||||
with open(source_git_repo_spec, 'r') as spec_file:
|
with open(source_git_repo_spec, 'r') as spec_file:
|
||||||
|
Loading…
Reference in New Issue
Block a user