[perl-Carp] 1.3301 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Apr 4 13:16:42 UTC 2014
commit 19b04fce4d2dfa3e6bd10c8fde6d4139bdca4886
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Apr 4 15:15:54 2014 +0200
1.3301 bump
.gitignore | 1 +
perl-Carp.spec | 13 ++++++++++---
sources | 2 +-
3 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3546369..c36f93e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/Carp-1.26.tar.gz
/Carp-1.32.tar.gz
/Carp-1.33.tar.gz
+/Carp-1.3301.tar.gz
diff --git a/perl-Carp.spec b/perl-Carp.spec
index e404c04..b35a571 100644
--- a/perl-Carp.spec
+++ b/perl-Carp.spec
@@ -1,11 +1,14 @@
+%global cpan_version 1.3301
+
Name: perl-Carp
-Version: 1.33
+# Keep 2-digit precision
+Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
Release: 1%{?dist}
Summary: Alternative warn and die for modules
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Carp/
-Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Carp-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Carp-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -16,6 +19,7 @@ BuildRequires: perl(Exporter)
# Tests:
BuildRequires: perl(B)
BuildRequires: perl(Config)
+# IPC::Open3 >= 1.0103 in reality, but provides is 2-digit number only
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(overload)
BuildRequires: perl(parent)
@@ -35,7 +39,7 @@ module was called. There is no guarantee that that is where the error was,
but it is a good educated guess.
%prep
-%setup -q -n Carp-%{version}
+%setup -q -n Carp-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -55,6 +59,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Apr 04 2014 Petr Pisar <ppisar at redhat.com> - 1.33.01-1
+- 1.3301 bump
+
* Wed Mar 26 2014 Petr Pisar <ppisar at redhat.com> - 1.33-1
- 1.33 bump
diff --git a/sources b/sources
index eae37d9..d6e8dd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70cdb48bdd7e6f304335109bbfce9308 Carp-1.33.tar.gz
+6b69aaecee7987c6447407d87ca5cc7a Carp-1.3301.tar.gz
More information about the perl-devel
mailing list