Use %{python3_version_nodots} for Boost.Python library name

This commit is contained in:
Jonathan Wakely 2019-01-30 21:10:34 +00:00
parent 3fb576c80f
commit c7ffcf21ee
1 changed files with 4 additions and 1 deletions

View File

@ -120,7 +120,7 @@ make -f Makefile.python \
CXX="g++ -std=c++11 ${CXXFLAGS:-%{optflags}}" %{?_smp_mflags} \
PYTHON_INC="$(python3-config --includes)" \
PYTHON_ROOT=. \
BOOST_PYTHON=boost_python37
BOOST_PYTHON=boost_python%{python3_version_nodots}
%install
make install \
@ -201,6 +201,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Wed Jan 30 2019 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-11
- Use %%{python3_version_nodots} for Boost.Python library name
* Tue Jan 29 2019 Jonathan Wakely <jwakely@redhat.com> - 1.10.17-11
- Use boost_python37 for library name