1
0

Accepting request 808075 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/808075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-espressomd?expand=0&rev=8
This commit is contained in:
Yuchen Lin 2020-05-26 15:20:27 +00:00 committed by Git OBS Bridge
commit 650961c216
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 21 21:52:51 UTC 2020 - Christoph Junghans <junghans@votca.org>
- Require: the right hdf5 library
-------------------------------------------------------------------
Mon May 11 20:57:59 UTC 2020 - Christoph Junghans <junghans@votca.org>

View File

@ -68,6 +68,8 @@ BuildRequires: boost-devel
Obsoletes: libEspresso4
Requires: python3-numpy
Requires: python3-h5py
# make sure rpm pulls in the right dependency
Requires: libhdf5-%{mpiver}
%description
ESPResSo is a highly versatile software package for performing and analyzing
@ -89,7 +91,7 @@ source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
# overwrite .so linker flags on SUSE distros: drop --no-undefined
# we don't install {i,}pypresso scripts as they aren't needed when installing in /usr
%cmake \
'-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,now' \
-DCMAKE_SHARED_LINKER_FLAGS='-Wl,--as-needed -Wl,-z,now' \
-DLIBDIR=%{_lib} \
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
-DINSTALL_PYPRESSO=OFF