Replace Python version glob with macro (needed for Python 3.10+)

This commit is contained in:
Tomas Hrnciar 2020-10-27 16:08:46 +01:00 committed by Miro Hrončok
parent 7e561897d6
commit 53629f017c

View File

@ -295,7 +295,7 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%files python3
%doc AUTHORS ChangeLog
%license COPYING.Boost
%{python3_sitearch}/python_libtorrent-%{version}-py3.?.egg-info
%{python3_sitearch}/python_libtorrent-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/libtorrent.cpython-*.so
%endif # with python3