Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-HTTP-CookieJar for 
openSUSE:Factory checked in at 2025-07-17 17:17:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-CookieJar (Old)
 and      /work/SRC/openSUSE:Factory/.perl-HTTP-CookieJar.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-HTTP-CookieJar"

Thu Jul 17 17:17:07 2025 rev:5 rq:1293766 version:0.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTTP-CookieJar/perl-HTTP-CookieJar.changes  
2025-06-04 20:27:08.737483479 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-HTTP-CookieJar.new.8875/perl-HTTP-CookieJar.changes
        2025-07-17 17:17:23.068306752 +0200
@@ -1,0 +2,5 @@
+Wed Jul 16 09:50:41 UTC 2025 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add fix2041.patch to make tests pass after year 2041
+
+-------------------------------------------------------------------

New:
----
  fix2041.patch

----------(New B)----------
  New:
- Add fix2041.patch to make tests pass after year 2041
----------(New E)----------

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

Other differences:
------------------
++++++ perl-HTTP-CookieJar.spec ++++++
--- /var/tmp/diff_new_pack.paQ7IL/_old  2025-07-17 17:17:23.668331649 +0200
+++ /var/tmp/diff_new_pack.paQ7IL/_new  2025-07-17 17:17:23.668331649 +0200
@@ -27,6 +27,7 @@
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Patch0:         fix2041.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.paQ7IL/_old  2025-07-17 17:17:23.704333143 +0200
+++ /var/tmp/diff_new_pack.paQ7IL/_new  2025-07-17 17:17:23.708333309 +0200
@@ -7,7 +7,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
+patches:
+   fix2041.patch: -p1
 #  foo.patch: -p1
 #  bar.patch:
 

++++++ fix2041.patch ++++++
https://github.com/dagolden/HTTP-CookieJar/pull/16

>From cb4faca2308a0a9a9b96526d9ef9e3cee58a4e35 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Mon, 14 Jul 2025 12:53:59 +0200
Subject: [PATCH] Fix tests after year 2041

moved to 3061 because it also has a Sunday on that day.

Background:
As part of my work on reproducible builds for openSUSE, I check that software 
still gives identical build results in the future.
The usual offset is +16 years, because that is how long I expect some software 
will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.
---
 t/examples.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/examples.t b/t/examples.t
index 755d9b2..3c032e6 100644
--- a/t/examples.t
+++ b/t/examples.t
@@ -38,7 +38,7 @@ subtest "wrong path" => sub {
 
 subtest "expiration" => sub {
     $jar->clear;
-    $jar->add( $req, "lang=en-US; Expires=Sun, 09 Jun 2041 10:18:14 GMT" );
+    $jar->add( $req, "lang=en-US; Expires=Sun, 09 Jun 3061 10:18:14 GMT" );
     is( $jar->cookie_header($req), "lang=en-US" );
     $jar->add( $req, "lang=; Expires=Sun, 06 Nov 1994 08:49:37 GMT" );
     is( $jar->cookie_header($req), "" );

Reply via email to