[Git][haskell-team/haskell-devscripts][master] Work around old timestamps in Hackage tarballs

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Fri Jul 1 19:20:59 BST 2022



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
e8c3259a by Ilias Tsitsimpis at 2022-07-01T21:12:05+03:00
Work around old timestamps in Hackage tarballs

Fix a bug in the code that modifies the timestamps for files with
incorrect ones.

- - - - -


2 changed files:

- debian/changelog
- lib/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-devscripts (0.16.21) unstable; urgency=medium
+
+  * Work around old timestamps in Hackage tarballs.
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Fri, 01 Jul 2022 21:11:38 +0300
+
 haskell-devscripts (0.16.20) unstable; urgency=medium
 
   * Use Haskell to parse .cabal files (Closes: #1012569)


=====================================
lib/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm
=====================================
@@ -567,7 +567,9 @@ sub configure_recipe {
     run(
         qw{find . ! -newer},
         $time_reference->stringify,
-        qw{-exec touch -d "1998-01-01 UTC" {} ; }
+        qw{-exec touch -d},
+        '1998-01-01 UTC',
+        qw{{} ; }
     );
 
     my $compiler = source_hc() || $ENV{DEB_DEFAULT_COMPILER};



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/e8c3259a4da79cba32f77e895888b9d4761f9f21

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/e8c3259a4da79cba32f77e895888b9d4761f9f21
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220701/b2a78ebc/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list