Accepting request 943418 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/943418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2022-01-03 09:48:55 +00:00 committed by Git OBS Bridge
commit 4823a645b2
4 changed files with 24 additions and 17 deletions

View File

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

3
DateTime-1.55.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83eee03e377e0e6f8bdaa250353b5860a551b69cec46a327e489145b97f5abd0
size 319958

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 24 03:06:11 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.55
see /usr/share/doc/packages/perl-DateTime/Changes
1.55 2021-12-23
- Another documentation fix release. This fixes some mistakes, fixes some
broken links, and removes all references to the long-dead datetime.perl.org
site.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 5 03:06:17 UTC 2020 - Tina Müller <timueller+perl@suse.de> Sat Dec 5 03:06:17 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime # spec file for package perl-DateTime
# #
# 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,17 +16,15 @@
# #
Name: perl-DateTime
Version: 1.54
Release: 0
%define cpan_name DateTime %define cpan_name DateTime
Name: perl-DateTime
Version: 1.55
Release: 0
Summary: Date and time object for Perl Summary: Date and time object for Perl
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Check) >= 0.011 BuildRequires: perl(CPAN::Meta::Check) >= 0.011
@ -64,10 +62,7 @@ Requires: perl(parent)
%description %description
DateTime is a class for the representation of date/time combinations, and DateTime is a class for the representation of date/time combinations, and
is part of the Perl DateTime project. For details on this project please is part of the Perl DateTime project.
see http://datetime.perl.org/. The DateTime site has a FAQ which may help
answer many "how do I do X?" questions. The FAQ is at
http://datetime.perl.org/wiki/datetime/page/FAQ.
It represents the Gregorian calendar, extended backwards in time before its It represents the Gregorian calendar, extended backwards in time before its
creation (in 1582). This is sometimes known as the "proleptic Gregorian creation (in 1582). This is sometimes known as the "proleptic Gregorian
@ -81,11 +76,12 @@ how dates are often written using "BCE/CE" or "BC/AD".
For infinite datetimes, please see the DateTime::Infinite module. For infinite datetimes, please see the DateTime::Infinite module.
%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 OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -96,8 +92,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 Changes CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS leaptab.txt precious.toml README.md TODO
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS leaptab.txt README.md TODO
%license LICENSE %license LICENSE
%changelog %changelog