[perl-Hash-Case] Deal with version module missing from SRPM build root
Petr Pisar
ppisar at fedoraproject.org
Mon Oct 27 11:20:01 UTC 2014
commit f1f25b9a9888fbf27d7b29d59a8b47caa2f4e98a
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Oct 27 12:19:12 2014 +0100
Deal with version module missing from SRPM build root
perl-Hash-Case.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/perl-Hash-Case.spec b/perl-Hash-Case.spec
index 7cc8fe0..76fe5a0 100644
--- a/perl-Hash-Case.spec
+++ b/perl-Hash-Case.spec
@@ -1,8 +1,8 @@
%global cpan_version 1.02
Name: perl-Hash-Case
-Version: %(perl -Mversion -e '$_=version->parse(q{%{cpan_version}})->normal;s/v//;print')
-Release: 3%{?dist}
+Version: 1.20.0
+Release: 4%{?dist}
Summary: Base class for hashes with key-casing requirements
License: GPL+ or Artistic
Group: Development/Libraries
@@ -11,6 +11,7 @@ Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/Hash-Case-%{cpan_vers
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(version)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Log::Report) >= 0.26
@@ -56,6 +57,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Oct 27 2014 Petr Pisar <ppisar at redhat.com> - 1.20.0-4
+- Deal with version module missing from SRPM build root
+
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.20.0-3
- Perl 5.20 rebuild
More information about the perl-devel
mailing list