update to 0.61
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=13
This commit is contained in:
parent
f23b3c868a
commit
b0c784f1da
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ccc851fcecdfa4575f0450b73125d51193363dfcb279dd28abb63d6c503cf0d4
|
|
||||||
size 132321
|
|
3
DateTime-0.61.tar.bz2
Normal file
3
DateTime-0.61.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6173b62b18c02103cb4660bd27ca82b63dd27f3c724251d2c306f0bcb6b5421b
|
||||||
|
size 132362
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 17 15:06:57 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 0.61
|
||||||
|
- Switching to dzil in 0.56 broke the --pp flag for the Build.PL. Reported by
|
||||||
|
Jonathan Noack. RT #59421.
|
||||||
|
- changed bcond_with test -> pod
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 8 16:25:10 UTC 2010 - chris@computersalat.de
|
Thu Jul 8 16:25:10 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime (Version 0.60)
|
# spec file for package perl-DateTime (Version 0.61)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -17,16 +17,17 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%bcond_with test
|
%bcond_with pod
|
||||||
|
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name DateTime
|
||||||
Summary: A date and time object
|
Summary: Date and time object
|
||||||
Version: 0.60
|
Version: 0.61
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Artistic License 2.0
|
License: Artistic 2.0
|
||||||
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: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -34,27 +35,24 @@ BuildRequires: perl(Module::Build)
|
|||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Scalar::Util)
|
%if %{with pod}
|
||||||
BuildRequires: perl(Pod::Man) >= 1.14
|
|
||||||
BuildRequires: perl(Test::Exception)
|
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
|
||||||
# for testsuite
|
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
%endif
|
%endif
|
||||||
# other not perl || perl-base
|
BuildRequires: perl(Pod::Man) >= 1.14
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(DateTime::Locale) >= 0.41
|
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(Time::Local) >= 1.04
|
BuildRequires: perl(Time::Local) >= 1.04
|
||||||
#
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Scalar::Util)
|
|
||||||
# other not perl || perl-base
|
|
||||||
Requires: perl(DateTime::Locale) >= 0.41
|
Requires: perl(DateTime::Locale) >= 0.41
|
||||||
Requires: perl(DateTime::TimeZone) >= 1.09
|
Requires: perl(DateTime::TimeZone) >= 1.09
|
||||||
Requires: perl(Params::Validate) >= 0.76
|
Requires: perl(Params::Validate) >= 0.76
|
||||||
|
Requires: perl(Scalar::Util)
|
||||||
Requires: perl(Time::Local) >= 1.04
|
Requires: perl(Time::Local) >= 1.04
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -75,30 +73,30 @@ from 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>
|
Author:
|
||||||
|
-------
|
||||||
|
Dave Rolsky <autarch@urth.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%{__chmod} 0644 tools/leap_seconds_header.pl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,-)
|
||||||
%defattr(-,root,root)
|
%doc c Changes CREDITS dist.ini leaptab.txt LICENSE README TODO tools
|
||||||
%doc CREDITS Changes LICENSE README SIGNATURE TODO
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user