Accepting request 48374 from devel:languages:perl

checked in (request 48374)

OBS-URL: https://build.opensuse.org/request/show/48374
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=14
This commit is contained in:
OBS User autobuild 2010-09-17 23:12:54 +00:00 committed by Git OBS Bridge
parent b0c784f1da
commit bddcbc2810
4 changed files with 28 additions and 34 deletions

3
DateTime-0.60.tar.bz2 Normal file
View File

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

View File

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

View File

@ -1,11 +1,3 @@
-------------------------------------------------------------------
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

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-DateTime (Version 0.61)
# spec file for package perl-DateTime (Version 0.60)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,17 +17,16 @@
# norootforbuild
%bcond_with pod
%bcond_with test
Name: perl-DateTime
%define cpan_name DateTime
Summary: Date and time object
Version: 0.61
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: A date and time object
Version: 0.60
Release: 1
License: Artistic 2.0
License: Artistic License 2.0
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
Url: http://search.cpan.org/dist/DateTime
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -35,24 +34,27 @@ BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Pod) >= 1.14
%endif
BuildRequires: perl(Scalar::Util)
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) >= 1.14
%endif
# other not perl || perl-base
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
#
Requires: perl = %{perl_version}
Requires: perl(Scalar::Util)
# other not perl || perl-base
Requires: perl(DateTime::Locale) >= 0.41
Requires: perl(DateTime::TimeZone) >= 1.09
Requires: perl(Params::Validate) >= 0.76
Requires: perl(Scalar::Util)
Requires: perl(Time::Local) >= 1.04
%description
@ -73,30 +75,30 @@ 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>
Author: Dave Rolsky <autarch@urth.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%{__chmod} 0644 tools/leap_seconds_header.pl
%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build build flags=%{?_smp_mflags}
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
./Build
%check
./Build test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
./Build install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc c Changes CREDITS dist.ini leaptab.txt LICENSE README TODO tools
# normally you only need to check for doc files
%defattr(-,root,root)
%doc CREDITS Changes LICENSE README SIGNATURE TODO
%changelog