Accepting request 108085 from devel:languages:perl
- 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/request/show/108085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Date-Manip?expand=0&rev=29
This commit is contained in:
commit
2598dda8d0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:80653769b98772992be2906bc31160b20a9abc2a4fa511653047ef087f0a722e
|
|
||||||
size 1693795
|
|
3
Date-Manip-6.31.tar.gz
Normal file
3
Date-Manip-6.31.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e3ccbc5f02dba6ba8d0a12db33bbd7f9384b45786a89c1b572482263e22f6a2
|
||||||
|
size 1603411
|
@ -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
|
Fri Jan 13 02:39:05 UTC 2012 - vcizek@suse.com
|
||||||
|
|
||||||
|
@ -16,57 +16,65 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with pod
|
|
||||||
|
|
||||||
Name: perl-Date-Manip
|
Name: perl-Date-Manip
|
||||||
Version: 6.30
|
Version: 6.31
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Date-Manip
|
%define cpan_name Date-Manip
|
||||||
Summary: Date manipulation routines
|
Summary: Date manipulation routines
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Date-Manip/
|
Url: http://search.cpan.org/dist/Date-Manip/
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/S/SB/SBECK/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildRequires: perl >= 5.10
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
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(Test::Inter)
|
||||||
BuildRequires: perl(YAML::Syck)
|
BuildRequires: perl(YAML::Syck)
|
||||||
Requires: perl(Carp)
|
#BuildRequires: perl(Date::Manip)
|
||||||
Requires: perl(IO::File)
|
#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)
|
Requires: perl(YAML::Syck)
|
||||||
Obsoletes: perl-DateManip < %{version}
|
%{perl_requires}
|
||||||
Provides: perl-DateManip = %{version}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Date::Manip is a series of modules designed to make any common date/time
|
Date::Manip is a series of modules designed to make any common date/time
|
||||||
manipulation easy to do. Operations such as comparing two times,
|
operation easy to do. Operations such as comparing two times, determining a
|
||||||
calculating a time a given amount of time from another, or parsing
|
data a given amount of time from another, or parsing international times
|
||||||
international times are all easily done. From the very beginning, the main
|
are all easily done. It deals with time as it is used in the Gregorian
|
||||||
focus of Date::Manip has been to be able to do ANY desired date/time
|
calendar (the one currently in use) with full support for time changes due
|
||||||
operation easily, not necessarily quickly. Also, it is definitely oriented
|
to daylight saving time.
|
||||||
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
|
From the very beginning, the main focus of Date::Manip has been to be able
|
||||||
can do a subset of the operations available in Date::Manip much quicker
|
to do ANY desired date/time operation easily. Many other modules exist
|
||||||
than those presented here, so be sure to read the section SHOULD I USE
|
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::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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
@ -75,11 +83,8 @@ perl Build.PL installdirs=vendor
|
|||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc HISTORY LICENSE README README.first
|
%doc examples HISTORY LICENSE README README.first
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user