@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;
return @list;
}
+sub package_arch {
+ my $package=shift;
+
+ return $package_arches{$package} eq 'all' ? "all" : buildarch();
+}
+
sub is_udeb {
my $package=shift;
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
=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 -
-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 <joeyh@debian.org> Thu, 20 Jan 2005 15:22:55 -0500
+ -- Joey Hess <joeyh@debian.org> Wed, 16 Feb 2005 13:47:29 -0500
debhelper (4.2.30) unstable; urgency=low