From 422c5cab6fc716d46d14804a6838e41f5286e1ca8aea087fa4d88cf654cbc7f5 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 17 Sep 2010 23:12:56 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/perl-DateTime revision 5.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=248b3af7369e0be2385c7068df7419bd --- DateTime-0.60.tar.bz2 | 3 --- DateTime-0.61.tar.bz2 | 3 +++ perl-DateTime.changes | 8 ++++++++ perl-DateTime.spec | 48 +++++++++++++++++++++---------------------- 4 files changed, 34 insertions(+), 28 deletions(-) delete mode 100644 DateTime-0.60.tar.bz2 create mode 100644 DateTime-0.61.tar.bz2 diff --git a/DateTime-0.60.tar.bz2 b/DateTime-0.60.tar.bz2 deleted file mode 100644 index d48314f..0000000 --- a/DateTime-0.60.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ccc851fcecdfa4575f0450b73125d51193363dfcb279dd28abb63d6c503cf0d4 -size 132321 diff --git a/DateTime-0.61.tar.bz2 b/DateTime-0.61.tar.bz2 new file mode 100644 index 0000000..3f39c45 --- /dev/null +++ b/DateTime-0.61.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6173b62b18c02103cb4660bd27ca82b63dd27f3c724251d2c306f0bcb6b5421b +size 132362 diff --git a/perl-DateTime.changes b/perl-DateTime.changes index f4ee0e1..0f84cda 100644 --- a/perl-DateTime.changes +++ b/perl-DateTime.changes @@ -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 diff --git a/perl-DateTime.spec b/perl-DateTime.spec index b2350c2..2fdac6d 100644 --- a/perl-DateTime.spec +++ b/perl-DateTime.spec @@ -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 - +Author: +------- + Dave Rolsky %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