psabata pushed to perl-DateTime-Format-Epoch (f22). "0.16 bump"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Jun 11 14:27:39 UTC 2015
From a9243633d7cb4ac26b35231745ae03b892f89478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Thu, 11 Jun 2015 16:26:45 +0200
Subject: 0.16 bump
diff --git a/.gitignore b/.gitignore
index 0f0a757..9fc35cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/DateTime-Format-Epoch-0.13.tar.gz
+/DateTime-Format-Epoch-0.16.tar.gz
diff --git a/perl-DateTime-Format-Epoch.spec b/perl-DateTime-Format-Epoch.spec
index 3526756..f4edfec 100644
--- a/perl-DateTime-Format-Epoch.spec
+++ b/perl-DateTime-Format-Epoch.spec
@@ -1,24 +1,35 @@
Name: perl-DateTime-Format-Epoch
-Version: 0.13
-Release: 10%{?dist}
+Version: 0.16
+Release: 1%{?dist}
Summary: Convert DateTimes to/from epoch seconds
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/DateTime-Format-Epoch/
Source0: http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-Epoch-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl >= 0:5.00503
+# Build
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: sed
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
BuildRequires: perl(DateTime) >= 0.31
+BuildRequires: perl(DateTime::LeapSecond)
BuildRequires: perl(Math::BigInt) >= 1.66
-BuildRequires: perl(Module::Build)
BuildRequires: perl(Params::Validate)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+# Tests only
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
+# Optional tests only
+BuildRequires: perl(Test::Pod) >= 1.00
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(DateTime) >= 0.31
Requires: perl(Math::BigInt) >= 1.66
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Math::BigInt\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DateTime\\)
%description
This module can convert a DateTime object (or any object that can be
@@ -27,29 +38,29 @@ epoch. It can also do the reverse.
%prep
%setup -q -n DateTime-Format-Epoch-%{version}
-
-# replace CRLF
find -type f -print0 | xargs -0 sed -i 's/\r$//'
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=true
+make %{?_smp_mflags}
%install
-./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
+make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
-./Build test
+make test
%files
-%doc Changes LICENSE README TODO
+%license LICENSE
+%doc Changes README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Thu Jun 11 2015 Petr Ĺ abata <contyk at redhat.com> - 0.16-1
+- 0.16 bump
+
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.13-10
- Perl 5.22 rebuild
diff --git a/sources b/sources
index 737cea8..5a85acf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f42982ea634401df953f88ce5eec1b7d DateTime-Format-Epoch-0.13.tar.gz
+856d6048f42724f49835fb96f66bab3d DateTime-Format-Epoch-0.16.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-DateTime-Format-Epoch.git/commit/?h=f22&id=a9243633d7cb4ac26b35231745ae03b892f89478
More information about the perl-devel
mailing list