Accepting request 48374 from devel:languages:perl

Copy from devel:languages:perl/perl-DateTime based on submit request 48374 from user computersalat

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

View File

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

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

View File

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

View File

@ -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.
#
@ -17,16 +17,17 @@
# norootforbuild
%bcond_with test
%bcond_with pod
Name: perl-DateTime
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: A date and time object
Version: 0.60
%define cpan_name DateTime
Summary: Date and time object
Version: 0.61
Release: 1
License: Artistic License 2.0
License: Artistic 2.0
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -34,27 +35,24 @@ BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%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}
%if %{with pod}
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Pod) >= 1.14
%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::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
@ -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.
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
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
./Build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install
%perl_process_packlist
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc CREDITS Changes LICENSE README SIGNATURE TODO
%defattr(-,root,root,-)
%doc c Changes CREDITS dist.ini leaptab.txt LICENSE README TODO tools
%changelog