Drop unnecessary cmake defines.
This commit is contained in:
parent
e185bbf6c8
commit
be2902ca72
6
stp.spec
6
stp.spec
|
@ -53,8 +53,6 @@ Summary: Python 3 interface to STP
|
|||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
|
||||
%description -n python3-%{name}
|
||||
Python 3 interface to STP.
|
||||
|
||||
|
@ -73,9 +71,7 @@ rm -f include/stp/Sat/CryptoMinisat5.h.orig
|
|||
%build
|
||||
export CFLAGS="%{optflags} -I %{_includedir}/minisat"
|
||||
export CXXFLAGS="%{optflags} -I %{_includedir}/minisat"
|
||||
%cmake -DCMAKE_SKIP_RPATH:BOOL=YES \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
||||
-DPYTHON_EXECUTABLE:FILEPATH=%{_bindir}/python%{python3_version} \
|
||||
%cmake -DPYTHON_EXECUTABLE:FILEPATH=%{_bindir}/python%{python3_version} \
|
||||
-DPYTHON_LIBRARY:FILEPATH=%{_libdir}/libpython%{python3_version}.so \
|
||||
-DPYTHON_INCLUDE_DIR:FILEPATH=%{_includedir}/python%{python3_version} .
|
||||
|
||||
|
|
Loading…
Reference in New Issue