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

Bas Couwenberg gitlab at salsa.debian.org
Tue Jul 17 17:30:52 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / php-geos


Commits:
70c69e3b by Bas Couwenberg at 2018-07-17T18:30:44+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
@@ -7,6 +7,7 @@ php-geos (1.0.0-3) UNRELEASED; urgency=medium
   * Fix deprecated source override location.
   * Update Vcs-* URLs for Salsa.
   * Strip trailing whitespace from control & rules files.
+  * Use filter instead of findstring to prevent partial matches.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 21 Dec 2017 07:58:24 +0100
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_autoreconf:
 
 override_dh_auto_test:
 # Ignore test failures on problematic architectures only
-ifneq (,$(findstring $(DEB_BUILD_ARCH),"arm64 armel armhf mips mips64el mipsel ppc64el s390x powerpc ppc64 x32"))
+ifneq (,$(filter $(DEB_BUILD_ARCH),arm64 armel armhf mips mips64el mipsel ppc64el s390x powerpc ppc64 x32))
         REPORT_EXIT_STATUS=1 NO_INTERACTION=1 dh_auto_test || echo "Ignoring test failures"
 else
         REPORT_EXIT_STATUS=1 NO_INTERACTION=1 dh_auto_test



View it on GitLab: https://salsa.debian.org/debian-gis-team/php-geos/commit/70c69e3b84e971a607fa9526414a3b439864f8a7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/php-geos/commit/70c69e3b84e971a607fa9526414a3b439864f8a7
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/3a54b54e/attachment-0001.html>


More information about the Pkg-grass-devel mailing list