[Git][debian-gis-team/sfcgal][master] Use filter instead of findstring to prevent partial matches.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Jul 17 17:32:16 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / sfcgal
Commits:
590ac46d by Bas Couwenberg at 2018-07-17T18:32:08+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
@@ -2,6 +2,7 @@ sfcgal (1.3.5-5) UNRELEASED; urgency=medium
* Skip tests on riscv64, sparc64, x32 too.
* Bump Standards-Version to 4.1.5, no changes.
+ * Use filter instead of findstring to prevent partial matches.
-- Bas Couwenberg <sebastic at debian.org> Sun, 01 Jul 2018 22:42:15 +0200
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -32,9 +32,9 @@ override_dh_auto_configure:
-DSFCGAL_WITH_OSG=ON
override_dh_auto_test:
-ifneq (,$(findstring $(DEB_BUILD_ARCH),"i386 alpha hurd-i386 kfreebsd-i386 riscv64 sparc64 x32"))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 alpha hurd-i386 kfreebsd-i386 riscv64 sparc64 x32))
# Skip tests
-else ifneq (,$(findstring $(DEB_BUILD_ARCH),"mips mips64el mipsel"))
+else ifneq (,$(filter $(DEB_BUILD_ARCH),mips mips64el mipsel))
dh_auto_test || echo "Ignoring test failures"
else
dh_auto_test
View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/commit/590ac46dbfcac25f712a6f2c4fb65894944ca048
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/commit/590ac46dbfcac25f712a6f2c4fb65894944ca048
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/b5275fda/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list