debian/lib/python/debian_linux/debian.py: Fix binNMU changelog parsing

I incorrectly added a requirement of a newline after urgency in the
changelog entry top line as part of
"debian/lib/python/debian_linux/debian.py: Parse bottom lines of
changelog entries".  For a binNMU, there will be ", binary-only=yes"
after the urgency.  Since we don't currently care about any fields
after urgency, allow either a comma or newline.
This commit is contained in:
Ben Hutchings 2018-04-24 20:20:41 +01:00
parent cb7c0036b0
commit 90f09743ec
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -13,6 +13,7 @@ linux (4.16.3-1) UNRELEASED; urgency=medium
* linux-headers: Change linux-kbuild dependency to be versioned
* Set ABI to 1
* [x86,arm64] Disable code signing for upload to unstable
* debian/lib/python/debian_linux/debian.py: Fix binNMU changelog parsing
[ Vagrant Cascadian ]
* [arm64] Add patches to support SATA on Tegra210/Jetson-TX1.

View File

@ -25,7 +25,7 @@ class Changelog(list):
(?P<urgency>
\w+
)
\n
(?:,|\n)
"""
_top_re = re.compile(_top_rules, re.X)
_bottom_rules = r"""