From bfd58002f8518b777faf24a363f0d2b3ef73d2dc Mon Sep 17 00:00:00 2001 From: Dmitrij S. Kryzhevich Date: Feb 07 2014 02:28:53 +0000 Subject: Workaround for race contions during building --- diff --git a/mathgl.spec b/mathgl.spec index 1848d71..bd471d1 100644 --- a/mathgl.spec +++ b/mathgl.spec @@ -1,6 +1,6 @@ Name: mathgl Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross-platform library for making high-quality scientific graphics Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken Summary(ru): Библиотека для осуществления высококачественной визуализации данных @@ -32,8 +32,6 @@ Patch5: mathgl-2.2.1-no_qt4_qt5.patch # Fix bug with CalcXYZ() function and others. Upstream. Patch50: mathgl-2.2.1-segfaults.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - Requires: %{name}-common = %{version}-%{release} # mandatory packages @@ -199,6 +197,9 @@ sed -i s,/usr/local/share/mathgl/fonts/,%{_datadir}/%{name}/fonts/, udav/prop_dl %build +OMP_NUM_THREADS=1 +export OMP_NUM_THREADS + %define building() \ BUILD_MPI="-Denable-mpi=on -Denable-all-docs=off" %buildcommon @@ -240,7 +241,6 @@ MPI_COMPILER_NAME=mpich %building %{_mpich_unload} %install -rm -rf %{buildroot} # MPI install libs only %define installing() \ @@ -357,6 +357,9 @@ fi %{_includedir}/mpich-%{_arch}/mgl2/ %changelog +* Fri Feb 7 2014 Dmitrij S. Kryzhevich - 2.2.1-2 +- Workaround for race condition during package building. + * Tue Feb 4 2014 Dmitrij S. Kryzhevich - 2.2.1-1 - Update for new 2.2.1.