[plplot/epel7] Fix conditional
Orion Poplawski
orion at fedoraproject.org
Fri May 23 21:31:13 UTC 2014
commit 80fbf53fa4f977d941c82b1cb5776400f940349a
Author: Orion Poplawski <orion at nwra.com>
Date: Fri May 23 15:31:09 2014 -0600
Fix conditional
plplot.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plplot.spec b/plplot.spec
index d5cc2b1..ebe0e77 100644
--- a/plplot.spec
+++ b/plplot.spec
@@ -20,8 +20,10 @@
%bcond_with ocaml
%else
# Missing needed ocaml ppc64 packages on RHEL7 at the moment
-%if 0%{?rhel} == 7 && %{arch} == ppc64
+%ifarch ppc64
+%if 0%{?rhel} == 7
%bcond_with ocaml
+%endif
%else
%bcond_without ocaml
%endif
More information about the scm-commits
mailing list