[darkradiant] 06/09: d/rules: Use /usr/share/dpkg/pkg-info.mk instead of dpkg-parsechangelog
Tobias Frost
tobi at moszumanska.debian.org
Tue Nov 28 16:54:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
tobi pushed a commit to branch master
in repository darkradiant.
commit 4d3021f1eec97cd85a699cdd848ffb1b01612711
Author: Tobias Frost <tobi at coldtobi.de>
Date: Mon Nov 27 22:09:27 2017 +0100
d/rules: Use /usr/share/dpkg/pkg-info.mk instead of dpkg-parsechangelog
---
debian/changelog | 2 ++
debian/rules | 6 ++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0a27353..ebf3fc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ darkradiant (2.4.0-1) UNRELEASED; urgency=medium
* Change package priority to optional, as extra is gone.
* Mark package darkradiant as Multi-Arch: foreign
* Bump S-V to 4.1.1 -- no changes required.
+ * d/rules: Use /usr/share/dpkg/pkg-info.mk instead of dpkg-
+ parsechangelog
-- Tobias Frost <tobi at debian.org> Sun, 26 Nov 2017 21:48:14 +0100
diff --git a/debian/rules b/debian/rules
index a503ca8..2022960 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
@@ -9,10 +11,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND+= -Wdate-time
export DEB_CXXFLAGS_MAINT_APPEND+= -Wdate-time
-export SOURCE_DATE_EPOCH_STR ?= $(shell TZ=UTC date -d "$$(dpkg-parsechangelog -SDate)" +'%Y-%m-%d %H:%M:%S')
-export DEB_CFLAGS_MAINT_APPEND += -DDEB_BUILD_DATE=\"$$SOURCE_DATE_EPOCH_STR\"
-export DEB_CXXFLAGS_MAINT_APPEND += -DDEB_BUILD_DATE=\"$$SOURCE_DATE_EPOCH_STR\"
-
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/darkradiant.git
More information about the Pkg-games-commits
mailing list