Bug#275419: atk1.0: wrong udeb filename

Santiago Vila Santiago Vila <sanvila@unex.es>, 275419@bugs.debian.org
Fri, 8 Oct 2004 01:07:50 +0200 (CEST)


Package: atk1.0
Version: 1.6.1-4
Tags: patch

Compiling this package under the hurd-i386 architecture produces an udeb
named libatk1.0-udeb_1.6.1-4_i386.udeb, which is wrong.

The name of an udeb should be made from the architecture name, not the cpu.

Patch follows:

diff -ru atk1.0-1.6.1.orig/debian/rules atk1.0-1.6.1/debian/rules
--- atk1.0-1.6.1.orig/debian/rules	Fri Oct  8 00:59:57 2004
+++ atk1.0-1.6.1/debian/rules	Fri Oct  8 01:01:02 2004
@@ -47,7 +47,7 @@
 glibver=2.0
 gtkver=2.0
 shver=1.6.0
-udebname=libatk$(apiver)-udeb_$(debversion)_$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU).udeb
+udebname=libatk$(apiver)-udeb_$(debversion)_$(shell dpkg-architecture -qDEB_BUILD_ARCH).udeb
 
 
 debian/control:

Thanks.