From f0680765225acc81a1324f4ea35a8d5bc4459f4fcd96da5aa719a624a292fc4c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 6 Mar 2012 07:34:36 +0000 Subject: [PATCH] - updated to 6.31 * Added extended formats to printf method. * Can now parse formats where the time and zone are not adjacent * Added PeriodTimeSep config variable. * Holidays can be used as date strings * Added new recur modifiers * Tons of new test cases and bug fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Date-Manip?expand=0&rev=40 --- Date-Manip-6.30.tar.gz | 3 -- Date-Manip-6.31.tar.gz | 3 ++ perl-Date-Manip.changes | 11 ++++++ perl-Date-Manip.spec | 77 ++++++++++++++++++++++------------------- 4 files changed, 55 insertions(+), 39 deletions(-) delete mode 100644 Date-Manip-6.30.tar.gz create mode 100644 Date-Manip-6.31.tar.gz diff --git a/Date-Manip-6.30.tar.gz b/Date-Manip-6.30.tar.gz deleted file mode 100644 index 5ee9445..0000000 --- a/Date-Manip-6.30.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80653769b98772992be2906bc31160b20a9abc2a4fa511653047ef087f0a722e -size 1693795 diff --git a/Date-Manip-6.31.tar.gz b/Date-Manip-6.31.tar.gz new file mode 100644 index 0000000..456839d --- /dev/null +++ b/Date-Manip-6.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e3ccbc5f02dba6ba8d0a12db33bbd7f9384b45786a89c1b572482263e22f6a2 +size 1603411 diff --git a/perl-Date-Manip.changes b/perl-Date-Manip.changes index 5f5c970..d57ac17 100644 --- a/perl-Date-Manip.changes +++ b/perl-Date-Manip.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Mar 6 07:29:06 UTC 2012 - coolo@suse.com + +- updated to 6.31 + * Added extended formats to printf method. + * Can now parse formats where the time and zone are not adjacent + * Added PeriodTimeSep config variable. + * Holidays can be used as date strings + * Added new recur modifiers + * Tons of new test cases and bug fixes + ------------------------------------------------------------------- Fri Jan 13 02:39:05 UTC 2012 - vcizek@suse.com diff --git a/perl-Date-Manip.spec b/perl-Date-Manip.spec index faf5902..674d6d3 100644 --- a/perl-Date-Manip.spec +++ b/perl-Date-Manip.spec @@ -16,57 +16,65 @@ # -%bcond_with pod - Name: perl-Date-Manip -Version: 6.30 +Version: 6.31 Release: 0 %define cpan_name Date-Manip Summary: Date manipulation routines -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Date-Manip/ -Source: %{cpan_name}-%{version}.tar.gz -BuildRequires: perl >= 5.10 +Source: http://www.cpan.org/authors/id/S/SB/SBECK/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -%{perl_requires} -%if %{with pod} -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -%endif -BuildRequires: perl(Carp) -BuildRequires: perl(IO::File) BuildRequires: perl(Test::Inter) BuildRequires: perl(YAML::Syck) -Requires: perl(Carp) -Requires: perl(IO::File) +#BuildRequires: perl(Date::Manip) +#BuildRequires: perl(Date::Manip::Base) +#BuildRequires: perl(Date::Manip::Date) +#BuildRequires: perl(Date::Manip::Delta) +#BuildRequires: perl(Date::Manip::DM5abbrevs) +#BuildRequires: perl(Date::Manip::Lang::index) +#BuildRequires: perl(Date::Manip::Obj) +#BuildRequires: perl(Date::Manip::Recur) +#BuildRequires: perl(Date::Manip::TZ) +#BuildRequires: perl(Date::Manip::TZ_Base) +#BuildRequires: perl(Date::Manip::Zones) +#BuildRequires: perl(Date::Parse) +#BuildRequires: perl(DateTime::Format::DateParse) +#BuildRequires: perl(Win32::TieRegistry) Requires: perl(YAML::Syck) -Obsoletes: perl-DateManip < %{version} -Provides: perl-DateManip = %{version} +%{perl_requires} %description Date::Manip is a series of modules designed to make any common date/time -manipulation easy to do. Operations such as comparing two times, -calculating a time a given amount of time from another, or parsing -international times are all easily done. From the very beginning, the main -focus of Date::Manip has been to be able to do ANY desired date/time -operation easily, not necessarily quickly. Also, it is definitely oriented -towards the type of operations we (as people) tend to think of rather than -those operations used routinely by computers. There are other modules that -can do a subset of the operations available in Date::Manip much quicker -than those presented here, so be sure to read the section SHOULD I USE +operation easy to do. Operations such as comparing two times, determining a +data a given amount of time from another, or parsing international times +are all easily done. It deals with time as it is used in the Gregorian +calendar (the one currently in use) with full support for time changes due +to daylight saving time. + +From the very beginning, the main focus of Date::Manip has been to be able +to do ANY desired date/time operation easily. Many other modules exist +which may do a subset of these operations quicker or more efficiently, but +no other module can do all of the operations available in Date::Manip. + +Since many other date/time modules exist, some of which may do the specific +operation(s) you need faster, be sure to read the section SHOULD I USE DATE::MANIP in the Date::Manip::Misc document before deciding which of the -Date and Time modules from CPAN is for you. +Date and Time modules from CPAN is for you. However, if you want one module +to do it all, Date::Manip is the one to use. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -perl Build.PL installdirs=vendor -./Build +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check ./Build test @@ -75,11 +83,8 @@ perl Build.PL installdirs=vendor ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -rm -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc HISTORY LICENSE README README.first +%defattr(-,root,root,755) +%doc examples HISTORY LICENSE README README.first %changelog