[paraview/f16] Fixup spec
Orion Poplawski
orion at fedoraproject.org
Fri Dec 2 05:20:20 UTC 2011
commit 93b9bdd972fb1f368c4171a2201cc63a8a53b7f8
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Dec 1 22:20:17 2011 -0700
Fixup spec
paraview.spec | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/paraview.spec b/paraview.spec
index a9f644b..caaf216 100644
--- a/paraview.spec
+++ b/paraview.spec
@@ -130,22 +130,6 @@ Install the paraview-mpich2 package to get a version compiled with mpich2.
%endif
-%if %{build_openmpi}
-%package openmpi
-Summary: Parallel visualization application
-Group: Applications/Engineering
-Requires: %{name}-data = %{version}-%{release}
-Requires: openmpi
-Obsoletes: %{name}-mpi < %{version}-%{release}
-Provides: %{name}-mpi = %{version}-%{release}
-
-%description openmpi
-This package contains copies of the ParaView server binaries compiled with
-OpenMPI. These are named pvserver_openmpi, pvbatch_openmpi, etc.
-
-You will need to load the openmpi-%{_arch} module to setup your path properly.
-
-
%package data
Summary: Data files for ParaView
Group: Applications/Engineering
@@ -180,7 +164,22 @@ BuildArch: noarch
%{summary}.
-%prep
+%if %{build_openmpi}
+%package openmpi
+Summary: Parallel visualization application
+Group: Applications/Engineering
+Requires: %{name}-data = %{version}-%{release}
+Requires: openmpi
+Obsoletes: %{name}-mpi < %{version}-%{release}
+Provides: %{name}-mpi = %{version}-%{release}
+
+%description openmpi
+This package contains copies of the ParaView server binaries compiled with
+OpenMPI. These are named pvserver_openmpi, pvbatch_openmpi, etc.
+
+You will need to load the openmpi-%{_arch} module to setup your path properly.
+
+
%package openmpi-devel
Summary: Development files for %{name}-openmpi
Group: Development/Libraries
@@ -216,6 +215,7 @@ developing applications that use %{name}-mpich2.
%endif
+%prep
%setup -q -n ParaView-%{version}%{?rcver}
%patch1 -p1 -b .include
%patch7 -p1 -b .hdf5
More information about the scm-commits
mailing list