Remove unused macro definitions, use %{python3_sitearch}
This commit is contained in:
parent
6bd8302056
commit
f688fdb8ae
@ -1,6 +1,3 @@
|
||||
%global python_version %(%{__python3} -c "import sys ; print(sys.version[:3])")
|
||||
%{!?python3_sitearch: %global python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
|
||||
%global with_tests 0
|
||||
|
||||
@ -130,7 +127,7 @@ find %{buildroot} -name '*.a' -delete
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files python3
|
||||
%{_libdir}/python%{python_version}/py%{name}.so
|
||||
%{python3_sitearch}/py%{name}.so
|
||||
|
||||
%files devel
|
||||
%doc html
|
||||
|
Loading…
Reference in New Issue
Block a user