Merge pull request #85 from xsuchy/pull-req-changelog

warn when no %changelog section is present
This commit is contained in:
Devan Goodwin 2013-06-13 06:04:25 -07:00
commit 86de655325

View file

@ -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()