3.8.2, add pathfix

This commit is contained in:
Alexander Stefanov 2020-03-16 19:09:08 +00:00
parent f08e8464aa
commit 5a68c7538c
2 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -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