diff --git a/CVE-2019-5010-null-defer-x509-cert-DOS.patch b/CVE-2019-5010-null-defer-x509-cert-DOS.patch index e0ec246..fbd32d7 100644 --- a/CVE-2019-5010-null-defer-x509-cert-DOS.patch +++ b/CVE-2019-5010-null-defer-x509-cert-DOS.patch @@ -23,7 +23,7 @@ https://bugs.python.org/issue35746 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py -@@ -467,6 +467,27 @@ class BasicSocketTests(unittest.TestCase +@@ -470,6 +470,27 @@ class BasicSocketTests(unittest.TestCase } ) diff --git a/Python-3.9.0.tar.xz b/Python-3.9.0.tar.xz new file mode 100644 index 0000000..9ba87ff --- /dev/null +++ b/Python-3.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c73e63c99855709b9be0b3cc9e5b072cb60f37311e8c4e50f15576a0bf82854 +size 18866140 diff --git a/Python-3.9.0.tar.xz.asc b/Python-3.9.0.tar.xz.asc new file mode 100644 index 0000000..930c802 --- /dev/null +++ b/Python-3.9.0.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl97PMMACgkQsmmV4xAl +BWgyNQ//YIbaMs4BN/AHD3ojfJ20iH5H6/QN/Qdg618byVhGF6m3VuJxYhLZKmRq +pdoSgbvQcmI46dab49LeusFvCGF9RlI+ojmaEN1yaX9gZAbC3C3VamBVEbZN03x6 +WsEohuc+8WKseBf1WfkkeVtH/+a/9Vu0a2RBLjtdLeIq9OfDamX0q2HsTXVD7aYa +f1nl83rEqSoY5xntNeRMdG/zpmQxyUlB2EjDvDttQN9rjNzsyXe5/iX8/NE9sYIv ++Cwt6GLhwUEwxxMbwScbyGSsTKKzBiy8NRKQLwwFoW7lx6pawARY4b3QT5yqSGOu +Yg64+gHtbyx1R8M4qifxzOXuwUWzM0KM1y3DhpGiGmOkxvauLr+qexn40Org3COw +v88EQpWyo9PONbLiU6oHegxRlu5ZYDB6aHC1h6zwLOruGOTZS/F+cKuH9m6nfZEq +H/d5nBeumyvtVt+XwscF4jGbnhP5f+Cysj5NDy9HFLoghaHQfsvQvFXCJ3EaQggm +9y6Z2JT9ihKoUCLqvx1Bj36V1cvWM+0MYL4ripG8gCPSeMMwCSnbXKsDqUtBLJxn +1EOZXa2eBADF2w1+xjy0Ny7TodHpGLmrejiYiohzhjPcslSWH+cis7iBxCe5uug1 +GOS8A3T6bhUcpNXKqFAMxi+0ew4zBy410P48qQFFxoJEsM6dGTw= +=2Ua7 +-----END PGP SIGNATURE----- diff --git a/Python-3.9.0rc1.tar.xz b/Python-3.9.0rc1.tar.xz deleted file mode 100644 index dfc3077..0000000 --- a/Python-3.9.0rc1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fba7a73e7359356967b853c234b97f4a4114f02b8bd60d6bde6e2f97bcdfdc70 -size 18798364 diff --git a/Python-3.9.0rc1.tar.xz.asc b/Python-3.9.0rc1.tar.xz.asc deleted file mode 100644 index 0f59737..0000000 --- a/Python-3.9.0rc1.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl8y7lAACgkQsmmV4xAl -BWirpQ//ea0iRHKS/26d7P7ueMfbi2FrLIjjnjBH9IOl5MOErQOVXlsOoWD4QARM -ffI5ayFpv/O/TNCZhJYyfB4veCF8f5bapN+I0MgorPTyVPgjXTMafkfJoPTGPZSU -K0uOOzTdBxnLYK2IwsLM64kti8vYIfH2/Ul2OxtA3o85GtaQxJfl4m7EjZ0YujbL -yj5anYxphqJXCsVbJXr0oFuEj3oW98kokfQyTmz7FfJdWXtXS+J4+oXtaV7NgDaG -yfab1N/XzBIGG6S9VUfKSFrhP2/zpqFA/HxeFXOlat0384FrpZnqghl2OhyF/a9Q -BM0Gf6gg5Zb6vUfXnx4LaKX/f8PwPQ6ByuYxlspm+K3F6i+qrgCv1JoTFoh606kY -cI1TJbZl8+yA0kzZTdfdIMoKG4U8limpMooourdek+IaJ+y0BA84Qq4mXhT9zKu1 -roc3AmO9w+GKru9BUDKHn92QPlfKiUoPC6zSfwNGgwbDp1wiwdh5UAhOi9sE7HoH -jMiqm05m0tMluyAKBWN3fGfon6Ccn4N8xpQBx1v2q1Z0VtTEtlpA6Igsi1vN/JPx -Yj6q7qpgPFOjjnatxELClIFkfwj+bQATj7WG5KoiIot00691djBimxNe1lspaPO5 -/Xi4MX4J0Qknu7CuOicAuhSw7gP5xOjHN2ullQCPK9mgI0Ygqps= -=4mqS ------END PGP SIGNATURE----- diff --git a/bpo-31046_ensurepip_honours_prefix.patch b/bpo-31046_ensurepip_honours_prefix.patch index 466c424..e4bc1d2 100644 --- a/bpo-31046_ensurepip_honours_prefix.patch +++ b/bpo-31046_ensurepip_honours_prefix.patch @@ -55,7 +55,7 @@ Co-Authored-By: Xavier de Gaye .. note:: --- a/Lib/ensurepip/__init__.py +++ b/Lib/ensurepip/__init__.py -@@ -59,27 +59,27 @@ def _disable_pip_configuration_settings( +@@ -56,27 +56,27 @@ def _disable_pip_configuration_settings( os.environ['PIP_CONFIG_FILE'] = os.devnull @@ -88,7 +88,7 @@ Co-Authored-By: Xavier de Gaye Note that calling this function will alter both sys.path and os.environ. """ -@@ -122,6 +122,8 @@ def _bootstrap(*, root=None, upgrade=Fal +@@ -119,6 +119,8 @@ def _bootstrap(*, root=None, upgrade=Fal args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir] if root: args += ["--root", root] @@ -97,7 +97,7 @@ Co-Authored-By: Xavier de Gaye if upgrade: args += ["--upgrade"] if user: -@@ -194,6 +196,11 @@ def _main(argv=None): +@@ -191,6 +193,11 @@ def _main(argv=None): help="Install everything relative to this alternate root directory.", ) parser.add_argument( @@ -109,7 +109,7 @@ Co-Authored-By: Xavier de Gaye "--altinstall", action="store_true", default=False, -@@ -212,6 +219,7 @@ def _main(argv=None): +@@ -209,6 +216,7 @@ def _main(argv=None): return _bootstrap( root=args.root, @@ -139,7 +139,7 @@ Co-Authored-By: Xavier de Gaye --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1244,7 +1244,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni +@@ -1252,7 +1252,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni install|*) ensurepip="" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ @@ -148,7 +148,7 @@ Co-Authored-By: Xavier de Gaye fi altinstall: commoninstall -@@ -1254,7 +1254,7 @@ altinstall: commoninstall +@@ -1262,7 +1262,7 @@ altinstall: commoninstall install|*) ensurepip="--altinstall" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ diff --git a/python39.changes b/python39.changes index 98439e6..151bf78 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Oct 9 16:05:50 UTC 2020 - Dominique Leuenberger + +- Fix build with RPM 4.16: error: bare words are no longer + supported, please use "...": x86 == ppc. + +------------------------------------------------------------------- +Tue Oct 6 07:30:56 UTC 2020 - Matej Cepl + +- Update to the final version 3.9.0: + Complete changelog with all (many) + changes from previous version is on + https://docs.python.org/release/3.9.0/whatsnew/3.9.html + Changes from the previous RC versions (not that many) are on + https://docs.python.org/release/3.9.0/whatsnew/changelog.html#changelog + ------------------------------------------------------------------- Fri Sep 25 06:58:03 UTC 2020 - Dominique Leuenberger diff --git a/python39.spec b/python39.spec index 23a2eb5..cd2e035 100644 --- a/python39.spec +++ b/python39.spec @@ -67,13 +67,13 @@ %define so_minor 0 %define so_version %{python_version_soname}%{abi_kind}-%{so_major}_%{so_minor} # rpm and python have different ideas about what is an arch-dependent name, so: -%if %{__isa_name} == ppc +%if "%{__isa_name}" == "ppc" %define archname %(echo %{_arch} | sed s/ppc/powerpc/) %else %define archname %{_arch} %endif # our arm has Hardware-Floatingpoint -%if %{_arch} == arm +%if "%{_arch}" == "arm" %define armsuffix hf %endif # pyexpat.cpython-35m-x86_64-linux-gnu @@ -88,7 +88,7 @@ %bcond_without profileopt %endif Name: %{python_pkg_name}%{psuffix} -Version: 3.9.0rc1 +Version: 3.9.0 Release: 0 Summary: Python 3 Interpreter License: Python-2.0