[netbeans] 05/07: Use changelog timestamp as buildstamp.
Markus Koschany
apo-guest at moszumanska.debian.org
Fri Jun 19 12:03:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository netbeans.
commit 7403731ca3378fdc1fb803e93632446e8475cd8f
Author: Markus Koschany <apo at gambaru.de>
Date: Fri Jun 19 03:41:58 2015 +0200
Use changelog timestamp as buildstamp.
Drop ant.properties file again and fix reproducibility issues in debian/rules.
---
debian/ant.properties | 1 -
debian/rules | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/ant.properties b/debian/ant.properties
deleted file mode 100644
index e00a47c..0000000
--- a/debian/ant.properties
+++ /dev/null
@@ -1 +0,0 @@
-buildstamp=20150617
diff --git a/debian/rules b/debian/rules
index 9f4ad16..3cf3934 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,8 @@ DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | \
grep -e '^Version' | \
perl -pi -e 's/^Version:\s+(.*)\+dfsg\d+-\d+.*$$/$$1/')
+BUILDSTAMP := $(shell date --utc --date="`dpkg-parsechangelog -SDate`" "+%b %_d %Y")
+
# Defined function to be used to create symlinks
define symlink
mkdir -p $(dir $(2))
@@ -53,6 +55,7 @@ override_dh_auto_build:
################################################################
# Build the IDE. DISPLAY must be unset to avoid build failures.
unset DISPLAY; ant \
+ -Dbuildstamp=$(BUILDSTAMP) \
-Dhg.id=debian-$(DEB_UPSTREAM_VERSION) \
-Dpermit.jdk7.builds=true \
-Dbuild.compiler.deprecation=false \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/netbeans.git
More information about the pkg-java-commits
mailing list