Source: zziplib
Version: 0.13.56-1.1
Followup-For: Bug #717837
User: debian-...@lists.debian.org
Usertag: arm64

Attached is a patch using the autotools-dev dh_ helpers to ensure
config.{guess,sub} are up to date for the build. This fixes the arm64
issue (tested) and ensures that this problem remains fixed in the
future for new ports. It also ensures that the package builds twice.

The package already used autotools-dev and a manual update of the
config.{sub, guess} files, but this failed in actual builds as the
zziplib dir is missing at that point. The dh_autotools* helpers are more
reliable and simpler to use in the rules file, so I think this is a good
fix.

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u zziplib-0.13.56/debian/changelog zziplib-0.13.56/debian/changelog
--- zziplib-0.13.56/debian/changelog
+++ zziplib-0.13.56/debian/changelog
@@ -1,3 +1,9 @@
+zziplib (0.13.56-1.1config1) unstable; urgency=low
+
+  * Use dh_autotools-dev commands instead of manual updates 
+
+ --  <woo...@debian.org>  Sun, 05 Jan 2014 01:21:28 +0000
+
 zziplib (0.13.56-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u zziplib-0.13.56/debian/rules zziplib-0.13.56/debian/rules
--- zziplib-0.13.56/debian/rules
+++ zziplib-0.13.56/debian/rules
@@ -26,14 +26,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-
-	-test -r /usr/share/misc/config.sub && \
-	cp -f /usr/share/misc/config.sub config.sub && \
-	cp -f /usr/share/misc/config.sub zziplib/config.sub
-	
-	-test -r /usr/share/misc/config.guess && \
-	cp -f /usr/share/misc/config.guess config.guess && \
-	cp -f /usr/share/misc/config.guess zziplib/config.guess
+	dh_autotools-dev_updateconfig
 	
 	CFLAGS="$(CFLAGS)" ./configure \
 			--host=$(DEB_HOST_GNU_TYPE) \

Reply via email to