forked from pool/perl-DateTime
Accepting request 1120572 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1120572 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=57
This commit is contained in:
commit
3ea9800d8a
BIN
DateTime-1.59.tar.gz
(Stored with Git LFS)
BIN
DateTime-1.59.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
DateTime-1.63.tar.gz
Normal file
3
DateTime-1.63.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1b11e49ec6e184ae2a10eccd05eda9534f32458fc644c12ab710c29a3a816f6f
|
||||||
|
size 324306
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 23 03:06:09 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.63
|
||||||
|
see /usr/share/doc/packages/perl-DateTime/Changes
|
||||||
|
|
||||||
|
1.63 2023-10-22
|
||||||
|
- This release is the same as 1.62. This releases fixes quadmath builds on
|
||||||
|
Windows. Reported by @sisyphus. GH #139.
|
||||||
|
1.62 2023-09-04 (TRIAL RELEASE)
|
||||||
|
- This is take 3 of trying to use `Perl_isfinite` where it's available. Now we
|
||||||
|
simply don't use it on Windows unless the Perl version is 5.22.0 or later.
|
||||||
|
1.61 2023-09-02 (TRIAL RELEASE)
|
||||||
|
- Fix use of the `Perl_isfinite` function on platforms where this is
|
||||||
|
broken. On Windows with Perl <= 5.20, it seems like `Perl_isfinite` exists
|
||||||
|
but it calls `Perl_isinf` and `Perl_isnan`, which don't exist.
|
||||||
|
1.60 2023-08-19 (TRIAL RELEASE)
|
||||||
|
- Switched to using the `Perl_isfinite` function instead of trying to
|
||||||
|
implement this ourselves in XS code. This should fix quadmath builds on
|
||||||
|
Windows. Reported by @sisyphus. GH #139.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 25 03:06:19 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
Tue Oct 25 03:06:19 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime
|
# spec file for package perl-DateTime
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# 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
|
||||||
@ -18,18 +18,19 @@
|
|||||||
|
|
||||||
%define cpan_name DateTime
|
%define cpan_name DateTime
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
Version: 1.59
|
Version: 1.630.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_version 1.63
|
||||||
License: Artistic-2.0
|
License: Artistic-2.0
|
||||||
Summary: Date and time object for Perl
|
Summary: Date and time object for 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}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
||||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||||
BuildRequires: perl(DateTime::Locale) >= 1.060000
|
BuildRequires: perl(DateTime::Locale) >= 1.06
|
||||||
BuildRequires: perl(DateTime::TimeZone) >= 2.44
|
BuildRequires: perl(DateTime::TimeZone) >= 2.44
|
||||||
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
||||||
BuildRequires: perl(Params::ValidationCompiler) >= 0.26
|
BuildRequires: perl(Params::ValidationCompiler) >= 0.26
|
||||||
@ -47,7 +48,7 @@ BuildRequires: perl(Test::Without::Module)
|
|||||||
BuildRequires: perl(Try::Tiny)
|
BuildRequires: perl(Try::Tiny)
|
||||||
BuildRequires: perl(namespace::autoclean) >= 0.19
|
BuildRequires: perl(namespace::autoclean) >= 0.19
|
||||||
BuildRequires: perl(parent)
|
BuildRequires: perl(parent)
|
||||||
Requires: perl(DateTime::Locale) >= 1.060000
|
Requires: perl(DateTime::Locale) >= 1.06
|
||||||
Requires: perl(DateTime::TimeZone) >= 2.44
|
Requires: perl(DateTime::TimeZone) >= 2.44
|
||||||
Requires: perl(Dist::CheckConflicts) >= 0.02
|
Requires: perl(Dist::CheckConflicts) >= 0.02
|
||||||
Requires: perl(Params::ValidationCompiler) >= 0.26
|
Requires: perl(Params::ValidationCompiler) >= 0.26
|
||||||
@ -61,6 +62,17 @@ Requires: perl(Specio::Subs)
|
|||||||
Requires: perl(Try::Tiny)
|
Requires: perl(Try::Tiny)
|
||||||
Requires: perl(namespace::autoclean) >= 0.19
|
Requires: perl(namespace::autoclean) >= 0.19
|
||||||
Requires: perl(parent)
|
Requires: perl(parent)
|
||||||
|
Provides: perl(DateTime) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Duration) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Helpers) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Infinite) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Infinite::Future) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Infinite::Past) = 1.630.0
|
||||||
|
Provides: perl(DateTime::LeapSecond) = 1.630.0
|
||||||
|
Provides: perl(DateTime::PP) = 1.630.0
|
||||||
|
Provides: perl(DateTime::PPExtra) = 1.630.0
|
||||||
|
Provides: perl(DateTime::Types) = 1.630.0
|
||||||
|
%define __perllib_provides /bin/true
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -79,8 +91,9 @@ 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
|
||||||
%autosetup -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
@ -95,7 +108,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS leaptab.txt precious.toml README.md TODO
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS leaptab.txt README.md TODO
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user