Hello community, here is the log from the commit of package perl-TimeDate for openSUSE:Factory checked in at 2020-01-03 17:35:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-TimeDate (Old) and /work/SRC/openSUSE:Factory/.perl-TimeDate.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-TimeDate" Fri Jan 3 17:35:52 2020 rev:29 rq:760579 version:2.30 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-TimeDate/perl-TimeDate.changes 2017-10-11 22:55:32.756178816 +0200 +++ /work/SRC/openSUSE:Factory/.perl-TimeDate.new.6675/perl-TimeDate.changes 2020-01-03 17:36:12.879271958 +0100 @@ -1,0 +2,11 @@ +Thu Jan 2 12:42:40 UTC 2020 - Pedro Monreal Gonzalez <[email protected]> + +- Fix test getdate [bsc#1159990] +- Add perl-TimeDate-getdate.patch + +------------------------------------------------------------------- +Thu Jan 2 12:42:12 UTC 2020 - Pedro Monreal Gonzalez <[email protected]> + +- Update spec file + +------------------------------------------------------------------- New: ---- perl-TimeDate-getdate.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-TimeDate.spec ++++++ --- /var/tmp/diff_new_pack.8qBSmz/_old 2020-01-03 17:36:13.219272132 +0100 +++ /var/tmp/diff_new_pack.8qBSmz/_new 2020-01-03 17:36:13.223272134 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-TimeDate # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,11 +21,12 @@ Release: 0 %define cpan_name TimeDate Summary: TimeDate Perl module -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/TimeDate/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +Patch0: perl-TimeDate-getdate.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -51,13 +52,14 @@ %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.8qBSmz/_old 2020-01-03 17:36:13.239272143 +0100 +++ /var/tmp/diff_new_pack.8qBSmz/_new 2020-01-03 17:36:13.243272145 +0100 @@ -15,4 +15,5 @@ could be extracted from the date string. The $zone element is the timezone offset in seconds from GMT. An empty array is returned upon failure. - +patches: + perl-TimeDate-getdate.patch: -p1 ++++++ perl-TimeDate-getdate.patch ++++++ Index: TimeDate-2.30/t/getdate.t =================================================================== --- TimeDate-2.30.orig/t/getdate.t +++ TimeDate-2.30/t/getdate.t @@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;102733200 !; require Time::Local; -my $offset = Time::Local::timegm(0,0,0,1,0,70); +my $offset = Time::Local::timegm(0,0,0,1,0,1970); @data = split(/\n/, $data);
