Compare commits

1 Commits
main ... 1.1

4 changed files with 15 additions and 25 deletions

BIN
HTTP-Date-6.05.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
HTTP-Date-6.06.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +1,3 @@
-------------------------------------------------------------------
Fri Jul 7 03:07:18 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- 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 - <timueller+perl@suse.de> Wed Nov 20 09:19:33 UTC 2019 - <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-HTTP-Date # spec file for package perl-HTTP-Date
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
# #
%define cpan_name HTTP-Date
Name: perl-HTTP-Date Name: perl-HTTP-Date
Version: 6.06 Version: 6.05
Release: 0 Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later %define cpan_name HTTP-Date
Summary: HTTP::Date - date conversion routines Summary: HTTP::Date - date conversion routines
URL: https://metacpan.org/release/%{cpan_name} License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Time::Local) >= 1.28 BuildRequires: perl(Time::Local) >= 1.28
@@ -111,7 +113,6 @@ The function is able to parse the following formats:
"Feb 3 17:03" -- 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 The parser ignores leading and trailing whitespace. It also allow the
seconds to be missing and the month to be numerical in most formats. seconds to be missing and the month to be numerical in most formats.
@@ -132,11 +133,12 @@ Same as time2str(), but returns a "YYYY-MM-DD hh:mm:ssZ"-formatted string
representing Universal Time. representing Universal Time.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %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
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%make_build make %{?_smp_mflags}
%check %check
make test make test
@@ -147,6 +149,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTORS README.md %doc Changes CONTRIBUTORS README.md
%license LICENSE %license LICENSE