De-hardcode py_SOVERSION in the files section

This commit is contained in:
Tomas Orsava 2020-01-22 15:54:21 +01:00 committed by churchyard
parent b1c7775af7
commit 97e152a6da

View File

@ -1556,7 +1556,7 @@ CheckPython optimized
%{_bindir}/python%{LDVERSION_debug}-config %{_bindir}/python%{LDVERSION_debug}-config
%{_bindir}/python%{LDVERSION_debug}-*-config %{_bindir}/python%{LDVERSION_debug}-*-config
%{_libdir}/libpython%{LDVERSION_debug}.so %{_libdir}/libpython%{LDVERSION_debug}.so
%{_libdir}/libpython%{LDVERSION_debug}.so.1.0 %{_libdir}/libpython%{LDVERSION_debug}.so.%{py_SOVERSION}
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}.pc %{_libdir}/pkgconfig/python-%{LDVERSION_debug}.pc
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}-embed.pc %{_libdir}/pkgconfig/python-%{LDVERSION_debug}-embed.pc