Dominique Leuenberger 2021-05-07 14:45:13 +00:00 committed by Git OBS Bridge
commit fcfe099ac4
4 changed files with 24 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5143cb8032301b49abef8b989cbfa7592e78db29b7b8c3b874bb0b9489e0d90f
size 116987

BIN
DateTime-Format-Strptime-1.79.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon May 3 03:06:56 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.79
see /usr/share/doc/packages/perl-DateTime-Format-Strptime/Changes
1.79 2021-05-02
* Fix too-strict type checking for time zones. This module now uses the same
check as DateTime itself, which allows for things that don't subclass
DateTime::TimeZone as long as they provide the same API. Reported by
E. Choroba. GH #30.
-------------------------------------------------------------------
Wed Dec 16 03:07:36 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Format-Strptime
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 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-DateTime-Format-Strptime
Version: 1.78
Release: 0
%define cpan_name DateTime-Format-Strptime
Name: perl-DateTime-Format-Strptime
Version: 1.79
Release: 0
Summary: Parse and format strp and strf time patterns
License: Artistic-2.0
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DateTime) >= 1.00
@ -68,11 +66,12 @@ the reverse of 'strftime(3)', for 'DateTime'. While 'strftime' takes a
and a pattern and returns the 'DateTime' object associated.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@ -83,8 +82,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md
%license LICENSE
%changelog