Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-MooseX-App for openSUSE:Factory 
checked in at 2023-10-19 22:51:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-App (Old)
 and      /work/SRC/openSUSE:Factory/.perl-MooseX-App.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-MooseX-App"

Thu Oct 19 22:51:06 2023 rev:5 rq:1119096 version:1.42

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MooseX-App/perl-MooseX-App.changes  
2023-08-09 17:26:50.781975373 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-MooseX-App.new.1945/perl-MooseX-App.changes    
    2023-10-19 22:54:03.541098358 +0200
@@ -1,0 +2,5 @@
+Thu Oct 19 19:50:05 UTC 2023 - Tina Müller <tina.muel...@suse.com>
+
+- Add 71.patch: Allow to override build date with SOURCE_DATE_EPOCH
+
+-------------------------------------------------------------------

New:
----
  71.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-MooseX-App.spec ++++++
--- /var/tmp/diff_new_pack.57WOfG/_old  2023-10-19 22:54:03.997114897 +0200
+++ /var/tmp/diff_new_pack.57WOfG/_new  2023-10-19 22:54:04.001115042 +0200
@@ -23,9 +23,10 @@
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Write user-friendly command line apps with even less suffering
 URL:            https://metacpan.org/release/%{cpan_name}
-Source0:        MooseX-App-1.42.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/M/MA/MAROS/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 Patch0:         
https://patch-diff.githubusercontent.com/raw/maros/MooseX-App/pull/70.patch
+Patch1:         
https://patch-diff.githubusercontent.com/raw/maros/MooseX-App/pull/71.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros

++++++ 71.patch ++++++
>From 55cf0fec6b5f25fba2ac9adabf14b0923fbf9c73 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bernhard+gitcommit lsmod.de>
Date: Sun, 15 Oct 2023 17:58:57 +0200
Subject: [PATCH] Allow to override build date with SOURCE_DATE_EPOCH

in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

Also use UTC/gmtime to be independent of timezone.
---
 lib/MooseX/App/Plugin/BashCompletion/Command.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/MooseX/App/Plugin/BashCompletion/Command.pm 
b/lib/MooseX/App/Plugin/BashCompletion/Command.pm
index 311cc2f..afe5c66 100644
--- a/lib/MooseX/App/Plugin/BashCompletion/Command.pm
+++ b/lib/MooseX/App/Plugin/BashCompletion/Command.pm
@@ -22,7 +22,7 @@ sub bash_completion {
     my $package         = __PACKAGE__;
     my $prefix          = $app_meta->app_base;
 
-    my ($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
+    my ($sec,$min,$hour,$mday,$mon,$year) = gmtime($ENV{SOURCE_DATE_EPOCH} || 
time);
     $year               += 1900;
     $mday               = sprintf('%02i',$mday);
     $mon                = sprintf('%02i',$mon+1);

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.57WOfG/_old  2023-10-19 22:54:04.037116348 +0200
+++ /var/tmp/diff_new_pack.57WOfG/_new  2023-10-19 22:54:04.041116493 +0200
@@ -9,6 +9,7 @@
 #  - source2
 patches:
   https://patch-diff.githubusercontent.com/raw/maros/MooseX-App/pull/70.patch: 
-p1
+  https://patch-diff.githubusercontent.com/raw/maros/MooseX-App/pull/71.patch: 
-p1
 #  bar.patch:
 preamble: |-
   BuildRequires: perl(Config::Any)

Reply via email to