[med-svn] [phyml] 03/04: Add patch to use debian version not date

Kevin Murray daube-guest at moszumanska.debian.org
Wed Mar 2 04:59:15 UTC 2016


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

daube-guest pushed a commit to branch master
in repository phyml.

commit 9090770833587785bf819c1806528e887cafda2a
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Wed Mar 2 15:44:14 2016 +1100

    Add patch to use debian version not date
    
    For reproducibility
---
 debian/patches/no-configure-ac-date | 11 +++++++++++
 debian/patches/series               |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/no-configure-ac-date b/debian/patches/no-configure-ac-date
new file mode 100644
index 0000000..5d335c4
--- /dev/null
+++ b/debian/patches/no-configure-ac-date
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,7 +1,7 @@
+ #                                               -*- Autoconf -*-
+ # Process this file with autoconf to produce a configure script.
+ 
+-AC_INIT([PhyML],esyscmd([sh -c "date \"+%Y%m%d\" | tr -d '\n'"]),[s.guindon at auckland.ac.nz])
++AC_INIT([PhyML],esyscmd([sh -c "dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' '"]),[s.guindon at auckland.ac.nz])
+ AM_INIT_AUTOMAKE([foreign])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 84a01e5..ebaa2c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 sse_only_if_supported.patch
 no-stdc++.patch
+no-configure-ac-date

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phyml.git



More information about the debian-med-commit mailing list