mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
Merge pull request #85 from xsuchy/pull-req-changelog
warn when no %changelog section is present
This commit is contained in:
commit
86de655325
1 changed files with 3 additions and 0 deletions
|
@ -264,6 +264,9 @@ class VersionTagger(ConfigObject):
|
|||
file.close()
|
||||
os.unlink(name)
|
||||
|
||||
if not found_changelog:
|
||||
print("WARNING: no %changelog section find in spec file. Changelog entry was not appended.")
|
||||
|
||||
in_f.close()
|
||||
out_f.close()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue