From c2297d61898e41f07801d6b341a647b958621cc5 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 8 Mar 2024 19:10:05 -0700 Subject: [PATCH] rpmautospec: lack of changelog file shouldn't matter Signed-off-by: Louis Abel --- pv2/importer/operation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pv2/importer/operation.py b/pv2/importer/operation.py index dbddfb8..c944df4 100644 --- a/pv2/importer/operation.py +++ b/pv2/importer/operation.py @@ -811,7 +811,8 @@ class GitImport(Import): source_git_repo_spec = self.find_spec_file(source_git_repo_path) # 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 AUTOCHANGELOG = False with open(source_git_repo_spec, 'r') as spec_file: