[maven-archiver] 09/10: Changed DEB_BUILD_DATE to DEB_CHANGELOG_DATETIME
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon May 4 23:37:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-archiver.
commit e4b5f02ae35cef5dfe8e50d0e1e3116ba0a52d78
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue May 5 00:38:32 2015 +0200
Changed DEB_BUILD_DATE to DEB_CHANGELOG_DATETIME
---
debian/changelog | 2 +-
.../patches/02-use-changelog-date-as-pom.properties-timestamp.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3b401c5..7e87565 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,7 @@ maven-archiver (2.6-1) UNRELEASED; urgency=medium
- Depend on libplexus-archiver-java >= 2.2
- Removed 01-maven-artifact-compatibility.patch
* Enabled the unit tests
- * The date set in the DEB_BUILD_DATE environment variable is now used
+ * The date set in the DEB_CHANGELOG_DATETIME environment variable is now used
for the timestamp in the pom.properties file embedded in the jar files
generated by maven-archiver to make the builds reproducible.
Thanks to Chris West (Closes: #775010)
diff --git a/debian/patches/02-use-changelog-date-as-pom.properties-timestamp.patch b/debian/patches/02-use-changelog-date-as-pom.properties-timestamp.patch
index 0161afc..1ef8c18 100644
--- a/debian/patches/02-use-changelog-date-as-pom.properties-timestamp.patch
+++ b/debian/patches/02-use-changelog-date-as-pom.properties-timestamp.patch
@@ -82,10 +82,10 @@ Bug-Debian: https://bugs.debian.org/775010
+class DebianUtils {
+
+ /**
-+ * Returns the Debian build date specified by the DEB_BUILD_DATE environment variable.
++ * Returns the Debian build date specified by the DEB_CHANGELOG_DATETIME environment variable.
+ */
+ static Date getDebianBuildDate() {
-+ String envName = "DEB_BUILD_DATE";
++ String envName = "DEB_CHANGELOG_DATETIME";
+ String envVariable = System.getenv(envName);
+ if (envVariable == null) {
+ return null;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-archiver.git
More information about the pkg-java-commits
mailing list