Your message dated Tue, 8 Aug 2017 17:04:07 +0200
with message-id <20170808150404.f72fvxnaln34t...@mapreri.org>
and subject line Re: Bug#787675: ricochet: please make build reproducible by 
embedding the debian/changelog date in the manpage instead of the build date
has caused the Debian Bug report #787675,
regarding ricochet: please make build reproducible by embedding the 
debian/changelog date in the manpage instead of the build date
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
787675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787675
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ricochet
Version: 4.0+nmu1
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
Tags: patch

Ricochet appears to be entirely reproducible with the exception of the
build date being embedded in the manpage.

https://reproducible.debian.net/rb-pkg/unstable/amd64/ricochet.html

The attached patch should resolve the issue with the manpage, making the
package reproducible.

I can NMU if you like, please let me know.

Regards,

        --dkg

>From 83595c887f3b9bb74fabe684bdc9fd746e385c2b Mon Sep 17 00:00:00 2001
From: Daniel Kahn Gillmor <d...@fifthhorseman.net>
Date: Wed, 3 Jun 2015 18:39:25 -0400
Subject: [PATCH] make manpage dates match debian/changelog date

This makes the ricochet package reproducible.
---
 configure    | 4 +++-
 configure.ac | 4 +++-
 debian/rules | 5 ++++-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 7175f54..3495cc5 100755
--- a/configure
+++ b/configure
@@ -2389,7 +2389,9 @@ fi
 
 
 
-BUILD_DATE=`date +%F`
+if test x$BUILD_DATE = x; then
+	BUILD_DATE=`date +%F`
+fi
 
 
 
diff --git a/configure.ac b/configure.ac
index 24e1e9d..4263e2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,9 @@ fi
 
 AC_SUBST(MAN_SECTION)
 
-BUILD_DATE=`date +%F`
+if test x$BUILD_DATE = x; then
+	BUILD_DATE=`date +%F`
+fi
 
 AC_SUBST(BUILD_DATE)
 
diff --git a/debian/rules b/debian/rules
index 19a4399..11c7b2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+BUILD_DATE=$(shell dpkg-parsechangelog -S Date | LC_ALL=C date -u "+%F" -f -)
+export BUILD_DATE
+
 configure_flags = --bindir=/usr/games --enable-gameman
 
 %:
 	dh $@  --with autotools-dev
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(configure_flags)
\ No newline at end of file
+	dh_auto_configure -- $(configure_flags)
-- 
2.1.4


--- End Message ---
--- Begin Message ---
Version: 0.5

On Wed, Jun 03, 2015 at 06:43:26PM -0400, Daniel Kahn Gillmor wrote:
> The attached patch should resolve the issue with the manpage, making the
> package reproducible.

This was applied in 0.5, but the changelog didn't close it.

Closing manually.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to