From 81ba0f659278db177a5873be33850125b7a22b4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 3 Jan 2020 21:55:34 +0900 Subject: [PATCH] - define __python as python2 --- macros.python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.python b/macros.python index 198ae77..9000ac1 100644 --- a/macros.python +++ b/macros.python @@ -1,6 +1,6 @@ # Python specific macro definitions. -%__python /usr/bin/python +%__python /usr/bin/python2 # python main version %py_ver %{expand:%%global py_ver %(%{__python} -c "import sys; print sys.version[:3]" 2>/dev/null || echo ERROR)}%py_ver -- 2.44.0