[openarena-data] 03/06: Do not put the PK3 files through dh_strip_nondeterminism: order is important for these files (see #819113)

Simon McVittie smcv at debian.org
Thu Mar 24 10:35:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository openarena-data.

commit 54d6abbd8bb444eda8ca49b2771c1b0fc662f41d
Author: Simon McVittie <smcv at debian.org>
Date:   Thu Mar 24 09:59:01 2016 +0000

    Do not put the PK3 files through dh_strip_nondeterminism: order is important for these files (see #819113)
---
 debian/changelog                | 2 ++
 debian/rules                    | 4 ++++
 debian/source/lintian-overrides | 2 ++
 3 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 25da31d..1b48182 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ openarena-data (0.8.5split-7) UNRELEASED; urgency=medium
     preference for the developer doing the build, not something that
     should be in the VCS
   * Verify at dh_builddeb time that the PK3 is compatible with upstream
+  * Do not put the PK3 files through dh_strip_nondeterminism: order
+    is important for these files (see #819113)
 
  -- Simon McVittie <smcv at debian.org>  Sat, 09 May 2015 11:00:18 +0100
 
diff --git a/debian/rules b/debian/rules
index 151f432..a5c70c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ include /usr/share/dpkg/default.mk
 paks := $(shell cat debian/$(DEB_SOURCE).paks)
 build_date := $(shell dpkg-parsechangelog --show-field=Date)
 
+override_dh_strip_nondeterminism:
+	dh_strip_nondeterminism -X.pk3
+
 override_dh_auto_build: $(patsubst %,build/%,$(paks))
 	:
 
@@ -68,6 +71,7 @@ check/%: build/%
 # check that the PK3s are still compatible (do this as late as
 # possible so that they aren't going to be modified further)
 override_dh_builddeb: $(patsubst %,check-compat/%,$(paks))
+	dh_builddeb
 
 check-compat/%: debian/%.pk3.contents.raw
 	perl debian/list-pk3.pl \
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..f6f23ee
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# only used (via override) if it would have been invoked anyway
+openarena-088-data source: missing-build-dependency-for-dh_-command dh_strip_nondeterminism => dh-strip-nondeterminism

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena-data.git



More information about the Pkg-games-commits mailing list