Commit 6e973ae5 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Support RPM creation directly from git

Just call in the spec file if configure does not exist
parent adaee9ca
......@@ -34,6 +34,9 @@ BuildRequires: openmpi-devel
BuildRequires: blas-devel
BuildRequires: lapack-devel
BuildRequires: pkg-config
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%if %{defined fedora}
BuildRequires: scalapack-openmpi-devel
......@@ -172,6 +175,9 @@ that use %{name}_openmp.
%if %{defined fedora}
module load mpi/openmpi-%{_arch}
if [ ! -e configure ] ; then
mkdir build
pushd build
%define _configure ../configure
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment