Wookey wrote:
> So I did. I've just re-uploaded it (without delay this time as it's
> had a year :-)

But that upload failed because the md5sums file has ownership 664, and
must be 644. (confusing error because it's hidden by your own umask
unless you unpack the deb as root)

So I've updated the patch a bit to fix this. 

attached

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
diff -u xblast-tnt-2.10.4/debian/changelog xblast-tnt-2.10.4/debian/changelog
--- xblast-tnt-2.10.4/debian/changelog
+++ xblast-tnt-2.10.4/debian/changelog
@@ -1,3 +1,12 @@
+xblast-tnt (2.10.4-3.1) unstable; urgency=low
+
+  [ Chen Baozi ]
+  * Non-maintainer upload.
+  * Use autotools-dev in build to support new architectures (closes: #728004)
+  * Ensure md5sums control file has correct permissions
+
+ -- Wookey <woo...@debian.org>  Tue, 30 Jun 2015 17:24:10 +0100
+
 xblast-tnt (2.10.4-3) unstable; urgency=low
 
   * debian/menu: Adapt to new menu policy: s/Arcade/Action/.
diff -u xblast-tnt-2.10.4/debian/rules xblast-tnt-2.10.4/debian/rules
--- xblast-tnt-2.10.4/debian/rules
+++ xblast-tnt-2.10.4/debian/rules
@@ -42,6 +42,8 @@
 build: build-stamp
 build-stamp:
 	# mini binaries
+	cp -f /usr/share/misc/config.sub .
+	cp -f /usr/share/misc/config.guess .
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr --mandir=\$${prefix}/share/man --with-x --disable-nls \
 		--enable-sound --with-otherdatadir=/usr/share/games/xblast-tnt \
@@ -125,6 +127,7 @@
 	dpkg-gencontrol -isp -Tdebian/$(PKG1).substvars -p$(PKG1) -P$(TMP1)
 	cd $(TMP1) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
 		xargs -r0 md5sum > DEBIAN/md5sums
+	test -f $(TMP1)/DEBIAN/md5sums && chmod 644 $(TMP1)/DEBIAN/md5sums
 	dpkg --build $(TMP1) ..
 
 
diff -u xblast-tnt-2.10.4/debian/control xblast-tnt-2.10.4/debian/control
--- xblast-tnt-2.10.4/debian/control
+++ xblast-tnt-2.10.4/debian/control
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Gerfried Fuchs <rho...@debian.at>
-Build-Depends: libxt-dev
+Build-Depends: libxt-dev, autotools-dev
 Standards-Version: 3.7.2
 
 Package: xblast-tnt

Reply via email to