Bas Couwenberg pushed to branch master at Debian GIS Project / hdf4

Commits:
004ed22b by Bas Couwenberg at 2018-07-17T18:57:46+02:00
Use filter instead of findstring to prevent partial matches.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libhdf4 (4.2.13-3) UNRELEASED; urgency=medium
   * Update Vcs-* URLs for Salsa.
   * Bump Standards-Version to 4.1.5, no changes.
   * Strip trailing whitespace from control & rules files.
+  * Use filter instead of findstring to prevent partial matches.
 
  -- Bas Couwenberg <[email protected]>  Sat, 20 Jan 2018 21:55:30 +0100
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ include /usr/share/dpkg/pkg-info.mk
 
 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 RELEASE := 4.2.13
 PACKAGE := libhdf4
@@ -35,7 +35,7 @@ ifneq (,$(findstring verbose,$(DEB_BUILD_OPTIONS)))
    export DH_VERBOSE
 endif
 
-ifneq (,$(findstring $(DEB_HOST_ARCH),"s390x sparc64"))
+ifneq (,$(filter $(DEB_BUILD_ARCH),s390x sparc64))
    DISABLE_TESTS=1
 else
    DISABLE_TESTS=0



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/hdf4/commit/004ed22b922734cf413d46899fc0fcfb0a762798

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/hdf4/commit/004ed22b922734cf413d46899fc0fcfb0a762798
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to