[packages/rpm-build-macros] - define __python as python2
baggins
baggins at pld-linux.org
Fri Jan 3 13:55:51 CET 2020
commit 81ba0f659278db177a5873be33850125b7a22b4a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 3 21:55:34 2020 +0900
- 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/81ba0f659278db177a5873be33850125b7a22b4a
More information about the pld-cvs-commit
mailing list