[perl-PDL/epel7] Fix epel7 build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 76bde8ab5768d2446bee6fbbbc2c49d8506d1c5c
Author: Lubomir Rintel <lkundrak@xxxxx>
Date:   Mon Feb 3 18:11:28 2014 +0100

    Fix epel7 build

 perl-PDL.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl-PDL.spec b/perl-PDL.spec
index a6fe5e8..48a1495 100644
--- a/perl-PDL.spec
+++ b/perl-PDL.spec
@@ -11,7 +11,7 @@
 Name:           perl-PDL
 %global cpan_version 2.007
 Version:        2.7.0
-Release:        2%{?dist}
+Release:        2%{?dist}.1
 Summary:        The Perl Data Language
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -67,14 +67,18 @@ BuildRequires:  perl(fields)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(FileHandle)
+%if 0%{rhel} < 7
 BuildRequires:  perl(File::Map) >= 0.57
+%endif
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Filter::Simple) >= 0.88
 BuildRequires:  perl(Filter::Util::Call)
 BuildRequires:  perl(Inline) >= 0.43
 BuildRequires:  perl(List::MoreUtils)
 BuildRequires:  perl(List::Util)
+%if 0%{rhel} < 7
 BuildRequires:  perl(Module::Compile) >= 0.23
+%endif
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(namespace::clean)
 BuildRequires:  perl(overload)
@@ -104,11 +108,15 @@ BuildRequires:  proj-nad
 # BuildRequires:  ncurses-devel
 BuildRequires:  sharutils
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+%if 0%{rhel} < 7
 Requires:       perl(File::Map) >= 0.57
+%endif
 Requires:       perl(File::Spec) >= 0.6
 Requires:       perl(Filter::Simple) >= 0.88
 Requires:       perl(Inline) >= 0.43
+%if 0%{rhel} < 7
 Requires:       perl(Module::Compile) >= 0.23
+%endif
 Requires:       perl(OpenGL) >= 0.6702
 Requires:       perl(Text::Balanced) >= 1.89
 Provides:       perl(PDL::Config)
@@ -190,6 +198,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Feb 03 2014 Lubomir Rintel <lkundrak@xxxxx> - 2.7.0-2.1
+- Fix epel7 build
+
 * Mon Dec 16 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.7.0-2
 - Disable Slatec on PPC64 (bug #1041304)
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux