Commit 722ef865 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Support for Münchhausenization

parent 0514b010
......@@ -176,6 +176,15 @@ that use %{name}_openmp.
module load mpi/openmpi-%{_arch}
%endif
if [ ! -e configure ] ; then
# It is possible to use the Open Build Server to automatically
# checkout from git directly, extract this spec file and set the
# version of the extracted spec file to some autogenerated
# string based on the date and git hash of the checkout commit.
# This line ensures that the spec file in the tar-ball has
# that same version, so that autogen will inserted that version
# in the configure script
perl -pi -e "s/^Version:.*/Version: %{version}/" elpa.spec
./autogen.sh
fi
mkdir build
......
Markdown is supported
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