[perl-Time-modules] 2013.0912 bump
Petr Pisar
ppisar at fedoraproject.org
Mon Sep 16 08:31:19 UTC 2013
commit 8b818ffa918a5206708a969956084f8374a470d3
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Sep 16 10:29:25 2013 +0200
2013.0912 bump
.gitignore | 1 +
.rpmlint | 2 ++
perl-Time-modules.spec | 26 ++++++++++++++++++--------
sources | 2 +-
4 files changed, 22 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cc000ae..d34e923 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Time-modules-2006.0814.tar.gz
/Time-modules-2011.0517.tar.gz
+/Time-modules-2013.0912.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..8656c72
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (CTime|DaysInMonth|JulianDay|ParseDate)");
diff --git a/perl-Time-modules.spec b/perl-Time-modules.spec
index a7eff89..c7eae2c 100644
--- a/perl-Time-modules.spec
+++ b/perl-Time-modules.spec
@@ -1,18 +1,26 @@
Name: perl-Time-modules
-Version: 2011.0517
-Release: 8%{?dist}
+Version: 2013.0912
+Release: 1%{?dist}
Summary: Perl modules for parsing dates and times
Group: Development/Libraries
License: Copyright only and Public Domain
URL: http://search.cpan.org/dist/Time-modules/
Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Time-modules-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-# Tests:
+# Run-time:
+BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
+BuildRequires: perl(integer)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests:
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::More)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Time::Local)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Time-modules provides several Perl modules, including Time::CTime,
@@ -23,14 +31,13 @@ These modules can be useful for parsing and manipulating dates and times.
%setup -q -n Time-modules-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
@@ -41,6 +48,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Mon Sep 16 2013 Petr Pisar <ppisar at redhat.com> - 2013.0912-1
+- 2013.0912 bump
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2011.0517-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 4ed2e26..22baaa5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67204ebc06211a877665765f91dc4e51 Time-modules-2011.0517.tar.gz
+a4330144e24c356ca4c925d14e5ab06b Time-modules-2013.0912.tar.gz
More information about the scm-commits
mailing list