Accepting request 1098072 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1098072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Date?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2023-07-12 15:26:06 +00:00 committed by Git OBS Bridge
commit b158882657
4 changed files with 26 additions and 16 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# 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,18 +16,16 @@
# #
Name: perl-HTTP-Date
Version: 6.05
Release: 0
%define cpan_name HTTP-Date %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 License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Summary: HTTP::Date - date conversion routines
Url: https://metacpan.org/release/%{cpan_name} 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
@ -112,7 +110,8 @@ The function is able to parse the following formats:
"Feb 3 1994" -- Unix 'ls -l' format "Feb 3 1994" -- Unix 'ls -l' format
"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.
@ -133,12 +132,11 @@ Same as time2str(), but returns a "YYYY-MM-DD hh:mm:ssZ"-formatted string
representing Universal Time. representing Universal Time.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -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 %{?_smp_mflags} %make_build
%check %check
make test make test
@ -149,7 +147,6 @@ 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