[DRE-commits] [foodcritic] 01/01: Use SOURCE_DATE_EPOCH in the generated manpage.

Stefano Rivera stefano at rivera.za.net
Tue Aug 23 21:09:02 UTC 2016


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

stefanor pushed a commit to branch master
in repository foodcritic.

commit b06c5ea03c60d88664017000d8f14f5c0926afdb
Author: Stefano Rivera <stefanor at debian.org>
Date:   Tue Aug 23 14:08:48 2016 -0700

    Use SOURCE_DATE_EPOCH in the generated manpage.
---
 debian/changelog | 6 ++++++
 debian/control   | 1 +
 debian/rules     | 2 +-
 man/foodcritic.1 | 2 +-
 4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 46f6d23..5af00cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+foodcritic (7.1.0-2) UNRELEASED; urgency=medium
+
+  * Use SOURCE_DATE_EPOCH in the generated manpage.
+
+ -- Stefano Rivera <stefanor at debian.org>  Tue, 23 Aug 2016 14:08:23 -0700
+
 foodcritic (7.1.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 94b8366..77a459e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Stefano Rivera <stefanor at debian.org>
 Build-Depends: chef,
                cucumber (>= 1.2.1),
                debhelper (>= 9),
+               dpkg-dev (>= 1.18.8~),
                gem2deb,
                rake,
                ruby-aruba (>= 0.4.11),
diff --git a/debian/rules b/debian/rules
index 330eaa8..ddd54fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	ronn --roff man/foodcritic.1.ronn
+	ronn --roff man/foodcritic.1.ronn --date $(shell date -d@$(SOURCE_DATE_EPOCH) +%Y-%m-%d)
 
 override_dh_clean:
 	dh_clean
diff --git a/man/foodcritic.1 b/man/foodcritic.1
index 468da6c..6ef1369 100644
--- a/man/foodcritic.1
+++ b/man/foodcritic.1
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "FOODCRITIC" "1" "February 2016" "" ""
+.TH "FOODCRITIC" "1" "2016-08-20" "" ""
 .
 .SH "NAME"
 \fBfoodcritic\fR \- lint tool for chef cookbooks

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/foodcritic.git



More information about the Pkg-ruby-extras-commits mailing list