From 5a68c7538c4277e110a0fdbf6744fecb8e2c351a Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Mon, 16 Mar 2020 19:09:08 +0000 Subject: [PATCH] 3.8.2, add pathfix --- .abf.yml | 4 ++-- python3.spec | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.abf.yml b/.abf.yml index 9709b9b..8822e89 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,3 +1,3 @@ sources: - Python-3.8.1.tar.xz: a48fd28a037c0bcd7b7fc4d914c023f584e910ed - python-3.8.1-docs-html.tar.bz2: b3619975dce1774165e574cc4cefd3b5c704b1ea + Python-3.8.2.tar.xz: 5ae54baf26628a7ed74206650a31192e6d5c6f93 + python-3.8.2-docs-html.tar.bz2: b19ca23d6145568045a899b812af4d641b62af18 diff --git a/python3.spec b/python3.spec index 1124cf7..c47e607 100644 --- a/python3.spec +++ b/python3.spec @@ -1,4 +1,4 @@ -%define docver 3.8.1 +%define docver 3.8.2 %define dirver 3.8 %define familyver 3 @@ -32,8 +32,8 @@ Summary: An interpreted, interactive object-oriented programming language Name: python3 -Version: 3.8.1 -Release: 12 +Version: 3.8.2 +Release: 1 License: Modified CNRI Open Source License Group: Development/Python @@ -380,6 +380,10 @@ ln -s python3 %{buildroot}%{_bindir}/python ln -s pydoc3 %{buildroot}%{_bindir}/pydoc ln -s python3-config %{buildroot}%{_bindir}/python-config +# Install pathfix.py to bindir +# See https://github.com/fedora-python/python-rpm-porting/issues/24 +cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/ + %check # (misc) if the home is nfs mounted, rmdir fails export TMP="/tmp" TMPDIR="/tmp" @@ -432,6 +436,7 @@ export TMP="/tmp" TMPDIR="/tmp" %{_libdir}/python%{dirver}/asyncio %{_libdir}/python%{dirver}/ensurepip # %exclude %{_libdir}/python%{dirver}/ensurepip/_bundled +%{_bindir}/pathfix.py %{_bindir}/pydoc3* %{_bindir}/python3* %{_bindir}/pydoc