Author: mmaslano
Update of /cvs/pkgs/rpms/perl-Date-Manip/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14617
Modified Files:
.cvsignore perl-Date-Manip.spec sources
Removed Files:
perl-Date-Manip-5.48-datez-rhbz248500.patch
Log Message:
* Mon Feb 1 2010 Marcela Mašláňová <mmaslano(a)redhat.com> - 6.05-1
- update, remove patch (tested functionality without it)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Date-Manip/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 26 Nov 2008 17:07:07 -0000 1.3
+++ .cvsignore 1 Feb 2010 09:05:31 -0000 1.4
@@ -1 +1 @@
-Date-Manip-5.54.tar.gz
+Date-Manip-6.05.tar.gz
Index: perl-Date-Manip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Date-Manip/devel/perl-Date-Manip.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- perl-Date-Manip.spec 13 Jan 2010 08:30:51 -0000 1.10
+++ perl-Date-Manip.spec 1 Feb 2010 09:05:31 -0000 1.11
@@ -1,22 +1,21 @@
Name: perl-Date-Manip
-Version: 5.54
-Release: 5%{?dist}
+Version: 6.05
+Release: 1%{?dist}
Summary: A Perl module containing a wide variety of date manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/Date-Manip/
Source0:
http://www.cpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
-# Mailed to sbeck(a)cpan.org on 2008-11-26:
-Patch0: perl-Date-Manip-5.48-datez-rhbz248500.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
-BuildRequires: perl(Test::Pod) >= 1.00
-BuildRequires: perl(Test::Pod::Coverage) >= 1.00
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(YAML::Syck)
+BuildRequires: perl(Test::More)
+Requires: perl(YAML::Syck)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
# This package was formerly known as perl-DateManip
Provides: perl-DateManip = %{version}-%{release}
@@ -24,29 +23,36 @@ Obsoletes: perl-DateManip < 5.48-1
%description
-This is a set of routines 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,
calculating a time a given amount of time from another, or parsing
-international times are all easily done.
-
+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
+DATE::MANIP in the Date::Manip::Misc document before deciding which of the
+Date and Time modules from CPAN is for you.
%prep
%setup -q -n Date-Manip-%{version}
-%patch0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,12 +60,15 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc README TODO HISTORY LICENSE
+%doc HISTORY LICENSE README README.first requirements
%{perl_vendorlib}/Date/
%{_mandir}/man3/*.3*
%changelog
+* Mon Feb 1 2010 Marcela Mašláňová <mmaslano(a)redhat.com> - 6.05-1
+- update, remove patch (tested functionality without it)
+
* Wed Jan 13 2010 Marcela Mašláňová <mmaslano(a)redhat.com> - 5.54-5
- add license into doc and fix rpmlint warnings
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Date-Manip/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources 26 Nov 2008 17:07:07 -0000 1.3
+++ sources 1 Feb 2010 09:05:31 -0000 1.4
@@ -1 +1 @@
-16c343329bad644b17f4f8ec5fb243cf Date-Manip-5.54.tar.gz
+d6b7cd0a4d26662c4149ecd2e9064037 Date-Manip-6.05.tar.gz
--- perl-Date-Manip-5.48-datez-rhbz248500.patch DELETED ---