Your message dated Thu, 04 Oct 2018 09:49:34 +0000
with message-id <[email protected]>
and subject line Bug#910257: fixed in strip-nondeterminism 0.043-1
has caused the Debian Bug report #910257,
regarding strip-nondeterminism: Remove need for obsolete libtimedate-perl 
dependency
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 [email protected]
immediately.)


-- 
910257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910257
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: strip-nondeterminism
Source-Version: 0.042-1
Severity: wishlist
Tags: patch

Hi!

For a while now the libtimedate-perl dependency has bothered me, as
in many cases the same functionality can be implemented with the
Time::Piece core module. Today while checking to do that I noticed
that the code is actually a fallback for an old debhelper. So we can
happily just remove the fallback and the dependency. :)

Attached a patch fixing this.

Thanks,
Guillem
From 0d335422c35dcc9fe198953b1e5aa9bd1377cf86 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Thu, 4 Oct 2018 00:01:17 +0200
Subject: [PATCH] Remove old backwards compatibility debhelper code

The required debhelper version providing the get_source_date_epoch()
function is available since Debian stable (stretch). Let's remove this
code and the unnecessary dependency.

Signed-off-by: Guillem Jover <[email protected]>
---
 bin/dh_strip_nondeterminism | 9 +--------
 debian/control              | 3 +--
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/bin/dh_strip_nondeterminism b/bin/dh_strip_nondeterminism
index ddbb126..bfd3794 100755
--- a/bin/dh_strip_nondeterminism
+++ b/bin/dh_strip_nondeterminism
@@ -11,7 +11,6 @@ use B;
 use File::Find;
 use Debian::Debhelper::Dh_Lib;
 use File::StripNondeterminism;
-use Date::Parse;
 
 =head1 SYNOPSIS
 
@@ -81,13 +80,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	find(\&testfile,$tmp);
 	next unless @nondeterministic_files;
 
-	$File::StripNondeterminism::canonical_time
-	  = eval { get_source_date_epoch() };
-	if (not defined $File::StripNondeterminism::canonical_time) {
-		# Hack for old versions of debhelper
-		isnative($package); # Sets $dh{DATE} as a side-effect
-		$File::StripNondeterminism::canonical_time = str2time($dh{DATE});
-	}
+	$File::StripNondeterminism::canonical_time = get_source_date_epoch();
 
 	verbose_print("Using $File::StripNondeterminism::canonical_time as canonical time");
 
diff --git a/debian/control b/debian/control
index 7d89966..75149f1 100644
--- a/debian/control
+++ b/debian/control
@@ -68,9 +68,8 @@ Description: file non-deterministic information stripper — stand-alone tool
 Package: dh-strip-nondeterminism
 Architecture: all
 Depends:
- debhelper,
+ debhelper (>= 9.20151004),
  libfile-stripnondeterminism-perl (= ${binary:Version}),
- libtimedate-perl,
  ${misc:Depends},
  ${perl:Depends},
 Multi-Arch: foreign
-- 
2.19.0.329.g76f2f5c1e3


--- End Message ---
--- Begin Message ---
Source: strip-nondeterminism
Source-Version: 0.043-1

We believe that the bug you reported is fixed in the latest version of
strip-nondeterminism, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <[email protected]> (supplier of updated strip-nondeterminism package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 04 Oct 2018 10:32:11 +0100
Source: strip-nondeterminism
Binary: libfile-stripnondeterminism-perl strip-nondeterminism 
dh-strip-nondeterminism
Architecture: source all
Version: 0.043-1
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 
<[email protected]>
Changed-By: Chris Lamb <[email protected]>
Description:
 dh-strip-nondeterminism - file non-deterministic information stripper — 
Debhelper add-on
 libfile-stripnondeterminism-perl - file non-deterministic information stripper 
— Perl module
 strip-nondeterminism - file non-deterministic information stripper — 
stand-alone tool
Closes: 910257
Changes:
 strip-nondeterminism (0.043-1) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * Remove old Date::Parse backwards-compatibility code. (Closes: #910257)
 .
   [ Chris Lamb ]
   * Bump Standards-Version to 4.2.1.
   * debian/rules: Correct spelling/grammar in comment.
Checksums-Sha1:
 0371cab68c509be544ea385ed19694deaca112a3 2528 strip-nondeterminism_0.043-1.dsc
 108d4969b0611d5405581a19f71dc456cfbaf308 223683 
strip-nondeterminism_0.043.orig.tar.bz2
 fd13101f0db9151f346f5769e70fc90eaf779cc7 30532 
strip-nondeterminism_0.043-1.debian.tar.xz
 22f16eb81fbce6158faecdb3cb50110a2d5da158 12112 
dh-strip-nondeterminism_0.043-1_all.deb
 2ac52c19ebe3526a4f501759541c85b8f1a0082e 20168 
libfile-stripnondeterminism-perl_0.043-1_all.deb
 969c4fa8f5dd0bca3a76450a4a9cec89d10d682b 12404 
strip-nondeterminism_0.043-1_all.deb
 44d7dd371cc209d35eb273dfcbe14f6d4689f873 6454 
strip-nondeterminism_0.043-1_amd64.buildinfo
Checksums-Sha256:
 15f483d197589c073e15ef39f6d6239778560d67ff02915327124f93ead17855 2528 
strip-nondeterminism_0.043-1.dsc
 bccda5675ad88caf4d0567413134728fd8d007b462c15c512fb3a4d4a4163b2e 223683 
strip-nondeterminism_0.043.orig.tar.bz2
 b65954141e95c064864d7887f4974516c3d6658133e264d35b113bcf8a326fdb 30532 
strip-nondeterminism_0.043-1.debian.tar.xz
 232c94c389d717a442eb9abc25e3ec779865defcbfa40c96db3d01d253f2bb7f 12112 
dh-strip-nondeterminism_0.043-1_all.deb
 c38738face6e52120338e340ad4867b9e27fcd0d021921aa99955d04d9f2b3cb 20168 
libfile-stripnondeterminism-perl_0.043-1_all.deb
 387acc9ae2e058f9c49ce1ddb20799589f89fb062ed1d0883763a38523a24d02 12404 
strip-nondeterminism_0.043-1_all.deb
 53576767018c9ad737870249a0ffeb4c2b38fe494c1a471dadddae770e3fb33b 6454 
strip-nondeterminism_0.043-1_amd64.buildinfo
Files:
 6aac0fa694e97bae5efed53f10785f68 2528 devel optional 
strip-nondeterminism_0.043-1.dsc
 23a293b8be23d2611cefb4bdc92a2ca1 223683 devel optional 
strip-nondeterminism_0.043.orig.tar.bz2
 a5a34b8e7d1414c75fecf989f3d731e5 30532 devel optional 
strip-nondeterminism_0.043-1.debian.tar.xz
 c3a76cf7e77a589ef6dd1d4cc38226f9 12112 devel optional 
dh-strip-nondeterminism_0.043-1_all.deb
 92b7c1cf8a3f449699bca83ba54a3709 20168 perl optional 
libfile-stripnondeterminism-perl_0.043-1_all.deb
 2c9f8b6b789eba8ada2e65717fe1d2ce 12404 devel optional 
strip-nondeterminism_0.043-1_all.deb
 cca02a81e395fe6904d1ae6a60e09deb 6454 devel optional 
strip-nondeterminism_0.043-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlu13poACgkQHpU+J9Qx
HljRARAAp53w0jt07zCdc7Vhn1a2g69pBe7JMqBfBhaAp+1mfZHrMD4DM70lLUwB
XK2pwxHW3tu++01A6VLAmZOYcd6zSdbewvcc1WJDlJhBmG9Gihp9zLssnn+kPDH/
JfpklNUsPw5B9zJnSe8b2CmS09qdrodXz9AGyB8WQ/GSp3wMSztfC8SZA7Fe0KoW
HdZDMR6kZu7OJ40EHGPvZwtQcNfqmkr1fZE8BZGWDkzQKG0oMq0lzI+AcXE18Vex
WW49l7kRalKOZ9Hc1cQ/7mcsIqlkHzhThb5Q+pQ7bJrPoPiDs5whJCzQUmV3U2E7
hpk9+T0wEZOIgtqW377M2j6KCqj+3JP7TId8rnzy9wm2np9EaqFr7WbFZa8IrGQz
u9NBfnzqz0v3ONOvVkEpZisYyw3zvKTbZ7R0k57uMVwE4NeOC5THZzcR7fr0McZA
434/2d3ipIUnM4xxTQI0bCPCY7dvUb9yX3NgOaEiu+c7FJ98qY5UiuPOlqlmv4ic
DTaIlOmzxKyhF+rAcYRYHna4wq4JttOvj4ayujJbR7C3U0aDhVxPd4qu7J/MBhSQ
9ifxXVXpCC5poa7vDJkpLq6ds4xaX/MPRJZvi2Fyarm1bdrECHYQ5TCzH3N4R+T6
/CzV4qzHGs2PGk6uc1wXKkIILA6zta4XtHFUPlpbyzsuCY6UcNQ=
=l7Qh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to