update to 0.66
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=22
This commit is contained in:
parent
ec2d15836a
commit
a95f5716cd
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bad785a41b5edc99f840c343db7203634ac1f59657ee1c1dbc5057e12efebceb
|
|
||||||
size 133465
|
|
43
DateTime-0.66-Build.patch
Normal file
43
DateTime-0.66-Build.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
diff -ruN DateTime-0.66-orig/Build.PL DateTime-0.66/Build.PL
|
||||||
|
--- DateTime-0.66-orig/Build.PL 2010-11-26 19:47:41.000000000 +0100
|
||||||
|
+++ DateTime-0.66/Build.PL 2011-02-20 00:40:30.000000000 +0100
|
||||||
|
@@ -2,13 +2,13 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
-use Module::Build 0.3601;
|
||||||
|
+use Module::Build 0.280801;
|
||||||
|
|
||||||
|
|
||||||
|
my %module_build_args = (
|
||||||
|
'build_requires' => {
|
||||||
|
'ExtUtils::CBuilder' => '0',
|
||||||
|
- 'Module::Build' => '0.3601',
|
||||||
|
+ 'Module::Build' => '0.280801',
|
||||||
|
'Pod::Man' => '1.14',
|
||||||
|
'Test::Exception' => '0',
|
||||||
|
'Test::More' => '0.88'
|
||||||
|
diff -ruN DateTime-0.66-orig/META.json DateTime-0.66/META.json
|
||||||
|
--- DateTime-0.66-orig/META.json 2010-11-26 19:47:41.000000000 +0100
|
||||||
|
+++ DateTime-0.66/META.json 2011-02-20 00:40:12.000000000 +0100
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
"build" : {
|
||||||
|
"requires" : {
|
||||||
|
"ExtUtils::CBuilder" : 0,
|
||||||
|
- "Module::Build" : "0.3601",
|
||||||
|
+ "Module::Build" : "0.280801",
|
||||||
|
"Pod::Man" : "1.14",
|
||||||
|
"Test::Exception" : 0,
|
||||||
|
"Test::More" : "0.88"
|
||||||
|
diff -ruN DateTime-0.66-orig/META.yml DateTime-0.66/META.yml
|
||||||
|
--- DateTime-0.66-orig/META.yml 2010-11-26 19:47:41.000000000 +0100
|
||||||
|
+++ DateTime-0.66/META.yml 2011-02-20 00:41:10.000000000 +0100
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
- 'Dave Rolsky <autarch@urth.org>'
|
||||||
|
build_requires:
|
||||||
|
ExtUtils::CBuilder: 0
|
||||||
|
- Module::Build: 0.3601
|
||||||
|
+ Module::Build: 0.280801
|
||||||
|
Pod::Man: 1.14
|
||||||
|
Test::Exception: 0
|
||||||
|
Test::More: 0.88
|
3
DateTime-0.66.tar.bz2
Normal file
3
DateTime-0.66.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cfd463bab87a8377dbf0c65560ababcd1bac9ae9ea5baf6828b1d08ba334d666
|
||||||
|
size 133414
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 19 23:46:48 UTC 2011 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 0.66
|
||||||
|
- A bunch of documentation cleanup. No code changes.
|
||||||
|
- recreated by cpanspec 1.78.03
|
||||||
|
- add Build patch (<= 1120)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 13:31:48 UTC 2010 - coolo@novell.com
|
Wed Dec 1 13:31:48 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime (Version 0.65)
|
# spec file for package perl-DateTime (Version 0.66)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,20 +15,19 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%bcond_with pod
|
%bcond_with pod
|
||||||
|
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
%define cpan_name DateTime
|
Version: 0.66
|
||||||
Summary: Date and time object
|
|
||||||
Version: 0.65
|
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Artistic 2.0
|
License: Artistic 2.0
|
||||||
|
%define cpan_name DateTime
|
||||||
|
Summary: A date and time object
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/DateTime/
|
Url: http://search.cpan.org/dist/DateTime/
|
||||||
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
|
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
Patch: %{cpan_name}-0.66-Build.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -45,7 +44,7 @@ BuildRequires: perl(DateTime::Locale) >= 0.41
|
|||||||
BuildRequires: perl(DateTime::TimeZone) >= 1.09
|
BuildRequires: perl(DateTime::TimeZone) >= 1.09
|
||||||
BuildRequires: perl(Params::Validate) >= 0.76
|
BuildRequires: perl(Params::Validate) >= 0.76
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(Time::Local) >= 1.04
|
BuildRequires: perl(Test::Exception)
|
||||||
#
|
#
|
||||||
Requires: perl(DateTime::Locale) >= 0.41
|
Requires: perl(DateTime::Locale) >= 0.41
|
||||||
Requires: perl(DateTime::TimeZone) >= 1.09
|
Requires: perl(DateTime::TimeZone) >= 1.09
|
||||||
@ -54,47 +53,46 @@ Requires: perl(Scalar::Util)
|
|||||||
Requires: perl(Time::Local) >= 1.04
|
Requires: perl(Time::Local) >= 1.04
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DateTime is a class for the representation of date/time combinations,
|
DateTime is a class for the representation of date/time combinations, and
|
||||||
and is part of the Perl DateTime project. For details on this project
|
is part of the Perl DateTime project. For details on this project please
|
||||||
please see http://datetime.perl.org/. The DateTime site has a FAQ which
|
see the http://datetime.perl.org/ manpage. The DateTime site has a FAQ
|
||||||
may help answer many "how do I do X?" questions. The FAQ is at
|
which may help answer many "how do I do X?" questions. The FAQ is at the
|
||||||
http://datetime.perl.org/?FAQ.
|
http://datetime.perl.org/wiki/datetime/page/FAQ manpage.
|
||||||
|
|
||||||
It represents the Gregorian calendar, extended backwards in time before
|
It represents the Gregorian calendar, extended backwards in time before its
|
||||||
its creation (in 1582). This is sometimes known as the "proleptic
|
creation (in 1582). This is sometimes known as the "proleptic Gregorian
|
||||||
Gregorian calendar". In this calendar, the first day of the calendar
|
calendar". In this calendar, the first day of the calendar (the epoch), is
|
||||||
(the epoch), is the first day of year 1, which corresponds to the date
|
the first day of year 1, which corresponds to the date which was
|
||||||
which was (incorrectly) believed to be the birth of Jesus Christ.
|
(incorrectly) believed to be the birth of Jesus Christ.
|
||||||
|
|
||||||
The calendar represented does have a year 0, and in that way differs
|
The calendar represented does have a year 0, and in that way differs from
|
||||||
from how dates are often written using "BCE/CE" or "BC/AD".
|
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.
|
||||||
|
|
||||||
Author:
|
|
||||||
-------
|
|
||||||
Dave Rolsky <autarch@urth.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%if 0%{?suse_version} <= 1120
|
||||||
|
%patch -p1
|
||||||
|
%endif
|
||||||
%{__chmod} 0644 tools/leap_seconds_header.pl
|
%{__chmod} 0644 tools/leap_seconds_header.pl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(644,root,root,755)
|
||||||
%doc c Changes CREDITS dist.ini leaptab.txt LICENSE README TODO tools
|
%doc Changes CREDITS LICENSE README TODO tools
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user