[Git][debian-gis-team/hdf4][master] Use filter instead of findstring to prevent partial matches.

Bas Couwenberg gitlab at salsa.debian.org
Tue Jul 17 17:57:53 BST 2018


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 <sebastic at debian.org>  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180717/dcffaa81/attachment.html>


More information about the Pkg-grass-devel mailing list