Christian Wittmer 2011-02-19 23:51:49 +00:00 committed by Git OBS Bridge
parent ec2d15836a
commit a95f5716cd
5 changed files with 80 additions and 31 deletions

View File

@ -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
View 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
View File

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

View File

@ -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

View File

@ -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.
#
@ -15,20 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-DateTime
%define cpan_name DateTime
Summary: Date and time object
Version: 0.65
Version: 0.66
Release: 1
License: Artistic 2.0
%define cpan_name DateTime
Summary: A date and time object
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime/
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Patch: %{cpan_name}-0.66-Build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
@ -45,7 +44,7 @@ BuildRequires: perl(DateTime::Locale) >= 0.41
BuildRequires: perl(DateTime::TimeZone) >= 1.09
BuildRequires: perl(Params::Validate) >= 0.76
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Time::Local) >= 1.04
BuildRequires: perl(Test::Exception)
#
Requires: perl(DateTime::Locale) >= 0.41
Requires: perl(DateTime::TimeZone) >= 1.09
@ -54,47 +53,46 @@ Requires: perl(Scalar::Util)
Requires: perl(Time::Local) >= 1.04
%description
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 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/?FAQ.
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
see the http://datetime.perl.org/ manpage. The DateTime site has a FAQ
which may help answer many "how do I do X?" questions. The FAQ is at the
http://datetime.perl.org/wiki/datetime/page/FAQ manpage.
It represents the Gregorian calendar, extended backwards in time before
its creation (in 1582). This is sometimes known as the "proleptic
Gregorian calendar". In this calendar, the first day of the calendar
(the epoch), is the first day of year 1, which corresponds to the date
which was (incorrectly) believed to be the birth of Jesus Christ.
It represents the Gregorian calendar, extended backwards in time before its
creation (in 1582). This is sometimes known as the "proleptic Gregorian
calendar". In this calendar, the first day of the calendar (the epoch), is
the first day of year 1, which corresponds to the date which was
(incorrectly) believed to be the birth of Jesus Christ.
The calendar represented does have a year 0, and in that way differs
from how dates are often written using "BCE/CE" or "BC/AD".
The calendar represented does have a year 0, and in that way differs from
how dates are often written using "BCE/CE" or "BC/AD".
For infinite datetimes, please see the DateTime::Infinite module.
Author:
-------
Dave Rolsky <autarch@urth.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} <= 1120
%patch -p1
%endif
%{__chmod} 0644 tools/leap_seconds_header.pl
%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc c Changes CREDITS dist.ini leaptab.txt LICENSE README TODO tools
%defattr(644,root,root,755)
%doc Changes CREDITS LICENSE README TODO tools
%changelog