[DebianGIS-dev] r1492 - packages/hdf5/trunk/debian

frankie at alioth.debian.org frankie at alioth.debian.org
Tue Apr 1 09:51:06 UTC 2008


Author: frankie
Date: 2008-04-01 09:51:05 +0000 (Tue, 01 Apr 2008)
New Revision: 1492

Modified:
   packages/hdf5/trunk/debian/changelog
   packages/hdf5/trunk/debian/rules
Log:
Fixating #473669


Modified: packages/hdf5/trunk/debian/changelog
===================================================================
--- packages/hdf5/trunk/debian/changelog	2008-04-01 09:25:43 UTC (rev 1491)
+++ packages/hdf5/trunk/debian/changelog	2008-04-01 09:51:05 UTC (rev 1492)
@@ -1,3 +1,10 @@
+hdf5 (1.6.6-3) unstable; urgency=low
+
+  * Fixating for most (not any) archs debhelper flag.
+    (closes: #473669)
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Tue, 01 Apr 2008 11:25:56 +0200
+
 hdf5 (1.6.6-2) unstable; urgency=low
 
   * Fixed changelog due to patch dropped before release, but still logged.

Modified: packages/hdf5/trunk/debian/rules
===================================================================
--- packages/hdf5/trunk/debian/rules	2008-04-01 09:25:43 UTC (rev 1491)
+++ packages/hdf5/trunk/debian/rules	2008-04-01 09:51:05 UTC (rev 1492)
@@ -20,6 +20,10 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
+# To be used if binary packages were buildable on any arch
+#ARCH_FLAG=-a
+ARCH_FLAG=-s
+
 ifeq ($(DEB_BUILD_ARCH),arm)
 build_openmpi = no
 else ifeq ($(DEB_BUILD_ARCH),armel)
@@ -221,20 +225,20 @@
 binary-arch: build install-serial install-lam $(install-openmpi) install-mpich
 	dh_testdir
 	dh_testroot 
-	dh_installdocs -a
-	dh_installman -a
+	dh_installdocs $(ARCH_FLAG)
+	dh_installman $(ARCH_FLAG)
 	dh_installchangelogs -a -k release_docs/RELEASE.txt
-	dh_link -a
-	dh_strip -a
-	dh_compress -a
-	dh_fixperms -a
+	dh_link $(ARCH_FLAG)
+	dh_strip $(ARCH_FLAG)
+	dh_compress $(ARCH_FLAG)
+	dh_fixperms $(ARCH_FLAG)
 #	dh_makeshlibs -p$(serpack) -V "$(serpack) | $(virtpack)"
 	dh_makeshlibs -p$(lampack) -V $(lampack)
 ifeq ($(build_openmpi),yes)
 	dh_makeshlibs -p$(openmpipack) -V $(openmpipack)
 endif
 	dh_makeshlibs -p$(mpichpack) -V $(mpichpack)
-	dh_installdeb -a
+	dh_installdeb $(ARCH_FLAG)
 	dh_shlibdeps -phdf5-tools -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
 	dh_shlibdeps -p$(serpack) -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
 	dh_shlibdeps -p$(lampack) -L$(lampack) -ldebian/$(lampack)/usr/lib
@@ -242,9 +246,9 @@
 	dh_shlibdeps -p$(openmpipack) -L$(openmpipack) -ldebian/$(openmpipack)/usr/lib
 endif
 	dh_shlibdeps -p$(mpichpack) -L$(mpichpack) -ldebian/$(mpichpack)/usr/lib
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
+	dh_gencontrol $(ARCH_FLAG)
+	dh_md5sums $(ARCH_FLAG)
+	dh_builddeb $(ARCH_FLAG)
 
 binary: binary-indep binary-arch
 




More information about the Pkg-grass-devel mailing list