diff --git a/python3.8.spec b/python3.8.spec index a8a8d7d..ca1499a 100644 --- a/python3.8.spec +++ b/python3.8.spec @@ -17,7 +17,7 @@ URL: https://www.python.org/ #global prerel rc1 %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 3%{?dist} License: Python @@ -925,7 +925,7 @@ sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \ # Install pathfix.py to bindir # See https://github.com/fedora-python/python-rpm-porting/issues/24 -cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/ +cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/pathfix%{pybasever}.py # Install i18n tools to bindir # They are also in python2, so we version them @@ -1007,7 +1007,6 @@ mv %{buildroot}%{_bindir}/2to3-%{pybasever} %{buildroot}%{_bindir}/2to3 # Remove stuff that would conflict with python3 package rm %{buildroot}%{_bindir}/python3 rm %{buildroot}%{_bindir}/pydoc3 -rm %{buildroot}%{_bindir}/pathfix.py rm %{buildroot}%{_bindir}/pygettext3.py rm %{buildroot}%{_bindir}/msgfmt3.py rm %{buildroot}%{_bindir}/idle3 @@ -1028,6 +1027,7 @@ ln -s ./idle3 %{buildroot}%{_bindir}/idle ln -s ./python3-config %{buildroot}%{_bindir}/python-config ln -s ./python3.1 %{buildroot}%{_mandir}/man1/python.1 ln -s ./python3.pc %{buildroot}%{_libdir}/pkgconfig/python.pc +ln -s ./pathfix%{pybasever}.py %{buildroot}%{_bindir}/pathfix.py %if %{with debug_build} ln -s ./python3-debug %{buildroot}%{_bindir}/python-debug %endif @@ -1394,6 +1394,7 @@ CheckPython optimized %{_bindir}/msgfmt.py %endif +%{_bindir}/pathfix%{pybasever}.py %{_bindir}/pygettext%{pybasever}.py %{_bindir}/msgfmt%{pybasever}.py @@ -1609,6 +1610,9 @@ CheckPython optimized # ====================================================== %changelog +* Wed Jul 29 2020 Lumír Balhar - 3.8.5-3 +- Ship versioned pathfixX.Y.py in main and non-main Python versions + * Wed Jul 29 2020 Fedora Release Engineering - 3.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild