Accepting request 890409 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/890409 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-Strptime?expand=0&rev=27
This commit is contained in:
commit
fcfe099ac4
@ -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
BIN
DateTime-Format-Strptime-1.79.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
Wed Dec 16 03:07:36 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime-Format-Strptime
|
# 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
|
# 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-DateTime-Format-Strptime
|
|
||||||
Version: 1.78
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name DateTime-Format-Strptime
|
%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
|
Summary: Parse and format strp and strf time patterns
|
||||||
License: Artistic-2.0
|
License: Artistic-2.0
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{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(DateTime) >= 1.00
|
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.
|
and a pattern and returns the 'DateTime' object associated.
|
||||||
|
|
||||||
%prep
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -83,8 +82,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md
|
||||||
%doc azure-pipelines.yml bench Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user