[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4030: marked as done ("sam" requires changes for multi-arch support)



Your message dated 23 Nov 1997 22:20:31 -0000
with message-id <19971123222031.11800.qmail@rdm.legislate.com>
and subject line Fixed in Version 4.3-2
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(maintainer, Debian bug tracking system)

Received: (at maintonly) by bugs.debian.org; 5 Aug 1996 03:42:33 +0000
Received: (qmail-queue invoked from smtpd); 5 Aug 1996 03:41:35 -0000
Received: from mill2.millcomm.com (root@199.170.133.2)
  by master.debian.org with SMTP; 5 Aug 1996 03:41:34 -0000
Received: by mill2.millcomm.com (Smail3.1.29.1 #2)
	id m0unGVW-000MkyC; Sun, 4 Aug 96 22:39 CDT
Message-Id: <m0unGVW-000MkyC@mill2.millcomm.com>
Date: Sun, 4 Aug 96 22:39 CDT
From: llucius@millcomm.com (Yambo)
To: maintonly@bugs.debian.org
Subject: "sam" requires changes for multi-arch support

Package: sam
Version: 4.3-1

The following problems were encountered while building on m68k arch:

1)  "debian.rules" did not support different architectures.
2)  "debian.rules" created improperly named .deb binaries (new standard).
3)  "debian.control" did not contain architecture field.

The following patches correct these problems:

--- orig/sam-4.3-1/DEBIAN/control	Sun Jan 28 13:39:10 1996
+++ sam-4.3-1/DEBIAN/control	Sun Aug  4 16:25:36 1996
@@ -1,5 +1,6 @@
 Package: sam
 Version: =
+Architecture: =
 Depends: libc5
 Recommended: elf-x11r6lib
 Maintainer: Raul Miller <moth@firefly.com>
--- orig/sam-4.3-1/debian.rules	Thu Feb  1 16:50:24 1996
+++ sam-4.3-1/debian.rules	Sun Aug  4 16:28:59 1996
@@ -8,6 +8,7 @@
 
 package=sam
 version=4.3-1
+arch=$(shell dpkg --print-architecture)
 
 DIR = $(package)-$(version)
 DEB = $(DIR).deb
@@ -36,7 +37,9 @@
 	install -d $t
 	#	DEBIAN
 	install -d $t/$D
-	sed -e 's/^Version: =/Version: $(version)/' <$D/control > $t/$D/control
+	sed -e 's/^Version: =/Version: $(version)/' \
+		-e 's/^Architecture: =/Architecture: $(arch)/' \
+		<$D/control > $t/$D/control
 	cp -Raul $D/p* $t/$D/
 	chmod +x DEBIAN/p*
 	#	/usr/lib/sam
@@ -71,7 +74,7 @@
 	chmod -R a+r $t
 	chmod -R go-ws $t
 	dpkg --build $t
-	mv -f $t.deb $(DEB)
+	dpkg-name -o -s .. $t.deb
 
 # Below here is fairly generic
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-qa-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: