3 Commits
8.85 ... 8.86

Author SHA1 Message Date
Joey Hess
e745cde2a0 releasing version 8.86 2011-11-12 13:14:11 -04:00
Joey Hess
5e4e122d58 Filter out illegal characters in version number when building a deb. Closes: #648531 2011-11-12 13:12:25 -04:00
Joey Hess
873c3606f3 typo 2011-09-29 21:31:38 -04:00
3 changed files with 10 additions and 1 deletions

View File

@@ -596,6 +596,8 @@ sub version {
# get # get
return unless defined wantarray; # optimization return unless defined wantarray; # optimization
$_=$this->{version}; $_=$this->{version};
# filter out some characters not allowed in debian versions
s/[^-.+~:A-Za-z0-9]//g; # see lib/dpkg/parsehelp.c parseversion
# Make sure the version contains digets. # Make sure the version contains digets.
unless (/[0-9]/) { unless (/[0-9]/) {
# Drat. Well, add some. dpkg-deb won't work # Drat. Well, add some. dpkg-deb won't work

View File

@@ -424,7 +424,7 @@ sub build {
$opts="--buildarch ".$this->arch; $opts="--buildarch ".$this->arch;
} }
else { else {
# Presumably we're delaing with rpm 3.0 or above, which # Presumably we're dealing with rpm 3.0 or above, which
# doesn't output rpmdir in any format I'd care to try to # doesn't output rpmdir in any format I'd care to try to
# parse. Instead, rpm is now of a late enough version to # parse. Instead, rpm is now of a late enough version to
# notice the %define's in the spec file, that will make the # notice the %define's in the spec file, that will make the

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
alien (8.86) unstable; urgency=low
* Filter out illegal characters in version number when building a deb.
Closes: #648531
-- Joey Hess <joeyh@debian.org> Sat, 12 Nov 2011 13:12:35 -0400
alien (8.85) unstable; urgency=low alien (8.85) unstable; urgency=low
* Avoid breaking on spaces in filenames. Closes: #618636 * Avoid breaking on spaces in filenames. Closes: #618636