[olap4j] 14/19: Do not require Git at build time

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 21 09:19:07 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository olap4j.

commit affa2c1a19d38796113cfd57f5ee8ebc366d7ce9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 20 18:42:46 2015 +0200

    Do not require Git at build time
---
 debian/patches/11_disable_git_commit_info.diff | 15 +++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/11_disable_git_commit_info.diff b/debian/patches/11_disable_git_commit_info.diff
new file mode 100644
index 0000000..bee6635
--- /dev/null
+++ b/debian/patches/11_disable_git_commit_info.diff
@@ -0,0 +1,15 @@
+Description: Avoid a dependency on Git at build time
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -283,9 +283,6 @@
+     </target>
+ 
+     <target name="version-properties">
+-        <exec executable="git" outputproperty="git.commit">
+-            <arg line="log -n 1 --format=format:%H"/>
+-        </exec>
+         <tstamp>
+             <format property="build.time" timezone="UTC" pattern="yyyy/MM/dd HH:mm:ss z"/>
+         </tstamp>
diff --git a/debian/patches/series b/debian/patches/series
index e125754..ee34c10 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 07_test_classpath.diff
 08_source_encoding.diff
 10_javadoc_tweaks.diff
+11_disable_git_commit_info.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/olap4j.git



More information about the pkg-java-commits mailing list