diff -Nru apturl-0.5.2ubuntu6/debian/changelog apturl-0.5.2ubuntu7/debian/changelog --- apturl-0.5.2ubuntu6/debian/changelog 2015-04-02 14:53:05.000000000 +0200 +++ apturl-0.5.2ubuntu7/debian/changelog 2015-06-16 10:54:06.000000000 +0200 @@ -1,3 +1,9 @@ +apturl (0.5.2ubuntu7) UNRELEASED; urgency=medium + + * Don't include Debian version in the python module version (LP: #1465549) + + -- Zygmunt Krynicki Tue, 16 Jun 2015 10:53:01 +0200 + apturl (0.5.2ubuntu6) vivid; urgency=medium [ Tim Lunn ] diff -Nru apturl-0.5.2ubuntu6/setup.py apturl-0.5.2ubuntu7/setup.py --- apturl-0.5.2ubuntu6/setup.py 2015-04-02 14:07:38.000000000 +0200 +++ apturl-0.5.2ubuntu7/setup.py 2015-06-16 10:52:56.000000000 +0200 @@ -11,7 +11,7 @@ if os.path.exists(changelog): with open(changelog, encoding='utf-8') as fp: head = fp.readline() - match = re.compile(".*\((.*)\).*").match(head) + match = re.compile(".*\(([0-9.]+)ubuntu.+\).*").match(head) if match: version = match.group(1) with open("AptUrl/Version.py", "w") as fp: