Rebuilt for Python 3.10

This commit is contained in:
Richard Shaw 2021-06-08 07:49:20 -05:00
parent 12092f6609
commit 3c03148d38
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
%global srcname Imath %global srcname Imath
%global sover 28 %global sover 28
%global pyver_under %(%{python3} -Esc "import sys; sys.stdout.write('{0.major}_{0.minor}'.format(sys.version_info))")
Name: imath Name: imath
Version: 3.0.2 Version: 3.0.2
@ -77,7 +78,7 @@ rm -rf html/.{doctrees,buildinfo}
%{_libdir}/libImath-3_0.so.%{sover}* %{_libdir}/libImath-3_0.so.%{sover}*
%files -n python3-%{name} %files -n python3-%{name}
%{_libdir}/libPyImath_Python3_9-3_0.so.%{sover}* %{_libdir}/libPyImath_Python%{pyver_under}-3_0.so.%{sover}*
%{python3_sitearch}/imath.so %{python3_sitearch}/imath.so
%{python3_sitearch}/imathnumpy.so %{python3_sitearch}/imathnumpy.so
@ -89,7 +90,7 @@ rm -rf html/.{doctrees,buildinfo}
%{_libdir}/cmake/Imath/ %{_libdir}/cmake/Imath/
%{_libdir}/libImath.so %{_libdir}/libImath.so
%{_libdir}/libImath-3_0.so %{_libdir}/libImath-3_0.so
%{_libdir}/libPyImath_Python3_9-3_0.so %{_libdir}/libPyImath_Python%{pyver_under}-3_0.so
%changelog %changelog