diff --git a/python3.spec b/python3.spec index 0dee6af..7607d94 100644 --- a/python3.spec +++ b/python3.spec @@ -1,4 +1,4 @@ -%define docver 3.8.1rc1 +%define docver 3.8.1 %define dirver 3.8 %define familyver 3 @@ -37,7 +37,7 @@ Release: 7 License: Modified CNRI Open Source License Group: Development/Python -Source: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz +Source0: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz Source1: https://docs.python.org/3/archives/python-%{docver}-docs-html.tar.bz2 Source2: python3.macros Source3: pybytecompile.macros @@ -253,7 +253,7 @@ rm -f Lib/test/test_importlib/data/example-21.12-py3.6.egg # docs mkdir html -bzcat %{SOURCE1} | tar x -C html +tar xf %{SOURCE1} -C html find . -type f -print0 | xargs -0 perl -p -i -e 's@/usr/local/bin/python@/usr/bin/python3@'