Workaround for race contions during building
This commit is contained in:
parent
bded599e74
commit
bfd58002f8
11
mathgl.spec
11
mathgl.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: mathgl
|
Name: mathgl
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Cross-platform library for making high-quality scientific graphics
|
Summary: Cross-platform library for making high-quality scientific graphics
|
||||||
Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
|
Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
|
||||||
Summary(ru): Библиотека для осуществления высококачественной визуализации данных
|
Summary(ru): Библиотека для осуществления высококачественной визуализации данных
|
||||||
|
@ -32,8 +32,6 @@ Patch5: mathgl-2.2.1-no_qt4_qt5.patch
|
||||||
# Fix bug with CalcXYZ() function and others. Upstream.
|
# Fix bug with CalcXYZ() function and others. Upstream.
|
||||||
Patch50: mathgl-2.2.1-segfaults.patch
|
Patch50: mathgl-2.2.1-segfaults.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
# mandatory packages
|
# mandatory packages
|
||||||
|
@ -199,6 +197,9 @@ sed -i s,/usr/local/share/mathgl/fonts/,%{_datadir}/%{name}/fonts/, udav/prop_dl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
OMP_NUM_THREADS=1
|
||||||
|
export OMP_NUM_THREADS
|
||||||
|
|
||||||
%define building() \
|
%define building() \
|
||||||
BUILD_MPI="-Denable-mpi=on -Denable-all-docs=off" %buildcommon
|
BUILD_MPI="-Denable-mpi=on -Denable-all-docs=off" %buildcommon
|
||||||
|
|
||||||
|
@ -240,7 +241,6 @@ MPI_COMPILER_NAME=mpich %building
|
||||||
%{_mpich_unload}
|
%{_mpich_unload}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
# MPI install libs only
|
# MPI install libs only
|
||||||
%define installing() \
|
%define installing() \
|
||||||
|
@ -357,6 +357,9 @@ fi
|
||||||
%{_includedir}/mpich-%{_arch}/mgl2/
|
%{_includedir}/mpich-%{_arch}/mgl2/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 7 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2.1-2
|
||||||
|
- Workaround for race condition during package building.
|
||||||
|
|
||||||
* Tue Feb 4 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2.1-1
|
* Tue Feb 4 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2.1-1
|
||||||
- Update for new 2.2.1.
|
- Update for new 2.2.1.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue