Use cmake3 macro
This commit is contained in:
parent
32f5cd570b
commit
689bea38cc
1 changed files with 5 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
Name: apbs
|
||||
Summary: Adaptive Poisson Boltzmann Solver
|
||||
Version: 3.0.0
|
||||
Release: 2%{datecommit}%{shortcommit}%{?dist}
|
||||
Release: 3%{datecommit}%{shortcommit}%{?dist}
|
||||
# iAPBS looks licensed with a LGPLv2+, APBS is released under BSD license.
|
||||
License: LGPLv2+ and BSD
|
||||
URL: https://www.poissonboltzmann.org/
|
||||
|
|
@ -86,7 +86,7 @@ cp -p %{SOURCE1} apbs/contrib/iapbs/iapbs-LGPLv2
|
|||
pushd apbs
|
||||
export CFLAGS="%{build_cflags} -fopenmp -lm"
|
||||
export CXXFLAGS="%{build_cxxflags} -fopenmp -lm"
|
||||
%cmake -DBUILD_DOC:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
%cmake3 -DBUILD_DOC:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DENABLE_iAPBS:BOOL=ON -DENABLE_OPENMP:BOOL=ON -DENABLE_VERBOSE_DEBUG:BOOL=OFF \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DENABLE_FETK:BOOL=OFF \
|
||||
%if %{with python}
|
||||
|
|
@ -164,6 +164,9 @@ sed -i 's|../build/bin/apbs|../bin/apbs|g' ./apbs_tester.py
|
|||
%doc doc/_build/html
|
||||
|
||||
%changelog
|
||||
* Wed Jun 17 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.0.0-3
|
||||
- Use cmake3 macro
|
||||
|
||||
* Wed Jun 17 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.0.0-2
|
||||
- Use cmake3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue