diff --git a/HTTP-Date-6.05.tar.gz b/HTTP-Date-6.05.tar.gz deleted file mode 100644 index bc71042..0000000 --- a/HTTP-Date-6.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:365d6294dfbd37ebc51def8b65b81eb79b3934ecbc95a2ec2d4d827efe6a922b -size 29673 diff --git a/HTTP-Date-6.06.tar.gz b/HTTP-Date-6.06.tar.gz new file mode 100644 index 0000000..c0816e3 --- /dev/null +++ b/HTTP-Date-6.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b685191c6acc3e773d1fc02c95ee1f9fae94f77783175f5e78c181cc92d2b52 +size 31629 diff --git a/perl-HTTP-Date.changes b/perl-HTTP-Date.changes index 2d3b03d..efbb96f 100644 --- a/perl-HTTP-Date.changes +++ b/perl-HTTP-Date.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jul 7 03:07:18 UTC 2023 - Tina Müller + +- updated to 6.06 + see /usr/share/doc/packages/perl-HTTP-Date/Changes + + 6.06 2023-07-06 22:29:55Z + - Use copyright year rather than range (GH#18) (Olaf Alders) + - Replace "Test" with "Test::More" (GH#20) (James Raspass) + - Remove the executable bit from the test (GH#21) (James Raspass) + - Add support for Windows four-digit year format (GH#23) (Grant Street + Group) + ------------------------------------------------------------------- Wed Nov 20 09:19:33 UTC 2019 - diff --git a/perl-HTTP-Date.spec b/perl-HTTP-Date.spec index f5ed413..6328ce9 100644 --- a/perl-HTTP-Date.spec +++ b/perl-HTTP-Date.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-Date # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # -Name: perl-HTTP-Date -Version: 6.05 -Release: 0 %define cpan_name HTTP-Date -Summary: HTTP::Date - date conversion routines +Name: perl-HTTP-Date +Version: 6.06 +Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +Summary: HTTP::Date - date conversion routines +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Time::Local) >= 1.28 @@ -112,7 +110,8 @@ The function is able to parse the following formats: "Feb 3 1994" -- Unix 'ls -l' format "Feb 3 17:03" -- Unix 'ls -l' format - "11-15-96 03:52PM" -- Windows 'dir' format + "11-15-96 03:52PM" -- Windows 'dir' format + "11-15-1996 03:52PM" -- Windows 'dir' format with four-digit year The parser ignores leading and trailing whitespace. It also allow the seconds to be missing and the month to be numerical in most formats. @@ -133,12 +132,11 @@ Same as time2str(), but returns a "YYYY-MM-DD hh:mm:ssZ"-formatted string representing Universal Time. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -149,7 +147,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes CONTRIBUTORS README.md %license LICENSE