From 105cd4f50d8d6c895734dae22b9c7128e8701802 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Fri, 12 Sep 2003 15:16:59 +0000 Subject: [PATCH] srcipts/dpkg-source.pl: allow ~ in version numbers --- ChangeLog | 4 ++++ debian/changelog | 6 ++++++ scripts/dpkg-source.pl | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5a71e63a..88fec242 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri, 12 Sep 2003 17:15:33 +0200 Wichert Akkerman + + * srcipts/dpkg-source.pl: allow ~ in version numbers + Sat Apr 26 15:10:24 CDT 2003 Adam Heath * version-nr, debian/changelog: Updated for 1.10.10 release. diff --git a/debian/changelog b/debian/changelog index 4471a688..9eb5aa68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dpkg (1.10.11) unstable; urgency=low + + * Teach dpkg-source that ~ is legal in version numbers + + -- Wichert Akkerman UNRELEASED + dpkg (1.10.10) unstable; urgency=low * Update archtable for hurd. Closes: #187509. diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index a06fe7b6..58640941 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -523,7 +523,7 @@ if ($opmode eq 'build') { $dscformat=$fi{'S Format'}; } - $sourcepackage =~ m/[^.0-9]/ && + $sourcepackage =~ m/[^.0-9~]/ && &error("dsc format contains illegal character \`$&'"); $sourcepackage= $fi{'S Source'}; -- 2.39.5