From 89a0eebd219349f8fefe6fcc02cc7af2b40aa741 Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Tue, 14 Aug 2012 17:23:30 -0700 Subject: [PATCH] Migrate h5utils to rocks6 --- h5utils.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/h5utils.spec b/h5utils.spec index 9cc6821..1d861da 100644 --- a/h5utils.spec +++ b/h5utils.spec @@ -1,5 +1,5 @@ %define name h5utils -%define dist rocks +%define dist rocks6 %define release 2 %define version 1.12.1 @@ -13,7 +13,8 @@ Source0: h5utils-1.12.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: /share/apps Requires: hdf5 -BuildRequires: hdf5 +BuildRequires: hdf5-devel +Provides: h5utils-devel Summary: Tools for HDF5 %description @@ -25,7 +26,7 @@ For a Rocks Cluster. Not intended for redistribution. %build cd $RPM_BUILD_DIR/%{name}-%{version} -F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS" CPPFLAGS="-I/share/apps/include $CPPFLAGS" ./configure --without-octave --prefix=/share/apps +F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS" CPPFLAGS="-I/share/apps/include -I/usr/include/openmpi-x86_64 $CPPFLAGS" ./configure --without-octave --prefix=/share/apps make