From e7104f4e8c2910cede371012a6d175e8649f2952 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 16 Feb 2005 18:48:08 +0000 Subject: [PATCH] r1740: releasing version 4.2.31 --- Debian/Debhelper/Dh_Lib.pm | 12 +++++++++--- debhelper.pod | 2 +- debian/changelog | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index c64f643..f013dee 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -13,8 +13,8 @@ use vars qw(@ISA @EXPORT %dh); @EXPORT=qw(&init &doit &complex_doit &verbose_print &error &warning &tmpdir &pkgfile &pkgext &pkgfilename &isnative &autoscript &filearray &filedoublearray &getpackages &basename &dirname &xargs %dh - &compat &addsubstvar &delsubstvar &excludefile &is_udeb - &udeb_filename); + &compat &addsubstvar &delsubstvar &excludefile &package_arch + &is_udeb &udeb_filename); my $max_compat=4; @@ -612,6 +612,12 @@ sub getpackages { return @list; } +sub package_arch { + my $package=shift; + + return $package_arches{$package} eq 'all' ? "all" : buildarch(); +} + sub is_udeb { my $package=shift; @@ -621,7 +627,7 @@ sub is_udeb { sub udeb_filename { my $package=shift; - my $filearch=$package_arches{$package} eq 'all' ? "all" : buildarch(); + my $filearch=package_arch($package); isnative($package); # side effect my $version=$dh{VERSION}; $version=~s/^[0-9]+://; # strip any epoch diff --git a/debhelper.pod b/debhelper.pod index f389924..285ec1b 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -299,7 +299,7 @@ the generated dependancy line in the shlibs file. =item - You are encouraged to put the new ${misc:Depends} into debian/control to -suppliment the ${shlibs:Depends} field. +supplement the ${shlibs:Depends} field. =item - diff --git a/debian/changelog b/debian/changelog index a07870a..f42c825 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ -debhelper (4.2.31) UNRELEASED; urgency=low +debhelper (4.2.31) unstable; urgency=low * Updated dh_installmime Spanish translation. + * Spelling fix. Closes: #293158 + * Patch from Matthias to split out a package_arch and export it in Dh_Lib. + Closes: #295383 - -- Joey Hess Thu, 20 Jan 2005 15:22:55 -0500 + -- Joey Hess Wed, 16 Feb 2005 13:47:29 -0500 debhelper (4.2.30) unstable; urgency=low -- 2.39.2