bzr-builddeb strips two "-X" blocks from the end of the version instead of only one, when looking for the upstream tarball
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Medium
|
Stefano Rivera |
Bug Description
Example: The pulseaudio packaging branch, which is merge-mode:
lp:~ubuntu-audio-dev/pulseaudio/ubuntu.natty
It uses nasty version numbers containing lots of hyphens:
$ dpkg-parsechangelog
Source: pulseaudio
Version: 1:0.9.22+
$ bzr bd-do
Looking for a way to retrieve the upstream tarball
...
bzr: ERROR: Unable to find the needed upstream tarball: pulseaudio_
Expected: pulseaudio_
Cause:
builddeb/cmds.py:
upstream_provider = UpstreamProvide
When _tarball_names() in the upstream provider uses self.version.
Related branches
- Jelmer Vernooij: Approve
-
Diff: 92 lines (+10/-11)4 files modifiedcmds.py (+3/-3)
dh_make.py (+1/-1)
tests/test_upstream.py (+1/-2)
upstream.py (+5/-5)
Changed in bzr-builddeb: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Stefano Rivera (stefanor) |
Changed in bzr-builddeb: | |
status: | Triaged → Fix Committed |
Changed in bzr-builddeb: | |
milestone: | none → 2.7 |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |