mirror of
https://github.com/clearlinux/autospec.git
synced 2026-09-06 13:51:45 +00:00
two more patterns
This commit is contained in:
@@ -88,6 +88,11 @@ def process_NEWS(file):
|
||||
success = 1
|
||||
if news[i] == tarball.name + "-" + tarball.version + ":" and news[i - 1] == "":
|
||||
start = i
|
||||
if news[i] == "- " + config.old_version + ":" and news[i - 1] == "":
|
||||
stop = i - 1
|
||||
success = 1
|
||||
if news[i] == "- " + tarball.version + ":" and news[i - 1] == "":
|
||||
start = i
|
||||
if news[i].find(config.old_version) >= 0 and news[i].find("*** Changes in ") >= 0 and news[i - 1] == "":
|
||||
stop = i - 1
|
||||
success = 1
|
||||
|
||||
Reference in New Issue
Block a user