diff --git a/python3.spec b/python3.spec index 4635ee1..bd489ca 100644 --- a/python3.spec +++ b/python3.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: 3%{?dist} +Release: 4%{?dist} License: Python @@ -698,6 +698,12 @@ rm configure pyconfig.h.in %build +# The build process embeds version info extracted from the Git repository +# into the Py_GetBuildInfo and sys.version strings. +# Our Git repository is artificial, so we don't want that. +# Tell configure to not use git. +export HAS_GIT=not-found + # Regenerate the configure script and pyconfig.h.in autoconf autoheader @@ -1593,6 +1599,9 @@ CheckPython optimized # ====================================================== %changelog +* Wed Aug 12 2020 Petr Viktorin - 3.7.8-4 +- In sys.version and initial REPL message, list the source commit as "default" + * Mon Aug 03 2020 Lumír Balhar - 3.7.8-3 - Add support for upstream architectures' names (patch 353)