Fully streamline builds covering only Architecture: all.
authorAaron M. Ucko <ucko@debian.org>
Mon, 4 Feb 2019 03:05:36 +0000 (22:05 -0500)
committerAaron M. Ucko <ucko@debian.org>
Mon, 4 Feb 2019 03:05:36 +0000 (22:05 -0500)
* debian/control: Split B-Ds other than Debhelper out to Build-Depends-Arch.
* debian/rules: Also skip (dh_auto)_configure when building only
  architecture-independent binary packages.

debian/changelog
debian/control
debian/rules

index f415c732d8023e53f11c8e281508d7642a18dc54..a7815a8383d7e769181301f3b6d2e033b4f05f58 100644 (file)
@@ -1,7 +1,9 @@
 ncbi-blast+ (2.8.1-1) UNRELEASED; urgency=medium
 
   * New upstream release (NOT RELEASED YET).
-  * debian/control: Build-Depend on liblmdb-dev.
+  * debian/control:
+    - Build-Depend on liblmdb-dev.
+    - Split B-Ds other than Debhelper out to Build-Depends-Arch.
   * debian/patches: Formally update for new release.
     - Retire support_boost_1_67 (already applied upstream).
     - Update patches that apply with offsets or outright fuzz, or need
@@ -9,8 +11,10 @@ ncbi-blast+ (2.8.1-1) UNRELEASED; urgency=medium
   * debian/patches/fix_lib_deps: Link xcleanup against $(OBJEDIT_LIBS).
   * debian/patches/system_mbedtls_only (new): Omit convenience mbed TLS
     copy, which is dead weight and yielded a Lintian error.
+  * debian/rules: Also skip (dh_auto)_configure when building only
+    architecture-independent binary packages.
 
- -- Aaron M. Ucko <ucko@debian.org>  Sun, 03 Feb 2019 21:43:22 -0500
+ -- Aaron M. Ucko <ucko@debian.org>  Sun, 03 Feb 2019 22:05:36 -0500
 
 ncbi-blast+ (2.7.1-2) unstable; urgency=medium
 
index d8ac77a78627a4ee6f5064bda4fa09e91ba7e034..d9e3483a1401e73b3a74ab1d90d8e52a0dd1fa29 100644 (file)
@@ -5,8 +5,8 @@ Uploaders: Olivier Sallou <osallou@debian.org>,
           Aaron M. Ucko <ucko@debian.org>
 Section: science
 Priority: optional
-Build-Depends: autotools-dev,
-               debhelper (>= 9),
+Build-Depends: debhelper (>= 9)
+Build-Depends-Arch: autotools-dev,
                libboost-test-dev,
                libbz2-dev,
                libc-dev-bin,
index 22a1758208f12fa8f16121191f9269c9db2f67ec..b017193c6b7789ad80e909993bec82f4407d9708 100755 (executable)
@@ -47,7 +47,8 @@ DEB_CONFIGURE_EXTRA_FLAGS += LDFLAGS_FOR_BUILD="$(LDFLAGS)"
 BLAST2_VERSION=1:$(shell dpkg-parsechangelog | awk '/^Version:/ { print $$2 }')
 
 llp=LD_LIBRARY_PATH
-override_dh_auto_configure:
+override_dh_auto_configure-indep:;
+override_dh_auto_configure-arch:
        cd c++  &&  $(llp)=$(CURDIR)/c++/BUILD/lib$${$(llp)+:$$$(llp)} \
            CONFIG_SHELL=/bin/bash ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) \
            ||  (tail -v -n +0 config.log BUILD/status/config.log; exit 1)