[Git][reproducible-builds/strip-nondeterminism][debian] 5 commits: Remove old Date::Parse backwards-compatibility code. (Closes: #910257)

Chris Lamb gitlab at salsa.debian.org
Thu Oct 4 11:33:15 CEST 2018


Chris Lamb pushed to branch debian at Reproducible Builds / strip-nondeterminism


Commits:
d96687d7 by Guillem Jover at 2018-10-04T09:28:21Z
Remove old Date::Parse backwards-compatibility code. (Closes: #910257)

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 <guillem at debian.org>
Signed-off-by: Chris Lamb <lamby at debian.org>

- - - - -
43961cc4 by Chris Lamb at 2018-10-04T09:29:17Z
Release version 0.043

- - - - -
7f7150c4 by Chris Lamb at 2018-10-04T09:29:45Z
Merge tag '0.043' into debian

Release version 0.043

* tag '0.043':
  Release version 0.043
  Remove old Date::Parse backwards-compatibility code. (Closes: #910257)

- - - - -
e2f75406 by Guillem Jover at 2018-10-04T09:30:52Z
Remove old Date::Parse backwards-compatibility code. (Closes: #910257)

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 <guillem at debian.org>
Signed-off-by: Chris Lamb <lamby at debian.org>

- - - - -
cd4535ef by Chris Lamb at 2018-10-04T09:32:15Z
Update changelog for 0.043-1 release

- - - - -


4 changed files:

- bin/dh_strip_nondeterminism
- debian/changelog
- debian/control
- lib/File/StripNondeterminism.pm


Changes:

=====================================
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");
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+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.
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 04 Oct 2018 10:32:11 +0100
+
 strip-nondeterminism (0.042-1) unstable; urgency=medium
 
   [ Evgueni Souleimanov ]


=====================================
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


=====================================
lib/File/StripNondeterminism.pm
=====================================
@@ -25,7 +25,7 @@ use POSIX qw(tzset);
 
 our($VERSION, $canonical_time, $clamp_time);
 
-$VERSION = '0.042'; # 0.042
+$VERSION = '0.043'; # 0.043
 
 sub init() {
 	$ENV{'TZ'} = 'UTC';



View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/408d6b99c154a5a3e28fe14eb43b165ae8acb1f6...cd4535ef63301ad8a11cc8f09bf2c8ada0c2d930

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/408d6b99c154a5a3e28fe14eb43b165ae8acb1f6...cd4535ef63301ad8a11cc8f09bf2c8ada0c2d930
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20181004/d81f6783/attachment.html>


More information about the rb-commits mailing list