[packages/rpm-build-macros] - use full path in %{__python3} macro
draenog
draenog at pld-linux.org
Thu Oct 31 17:41:53 CET 2013
commit f5b9833d8ce4403af7bf2d06794f8ae6d0df57e9
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Thu Oct 31 16:41:13 2013 +0000
- use full path in %{__python3} macro
rpm.macros | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index 97466e3..1700436 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -1068,7 +1068,7 @@ fi \
# Python 3.x
# python main version
-%__python3 python3
+%__python3 /usr/bin/python3
%py3_ver %{expand:%%global py3_ver %(%{__python3} -c "import sys; print(sys.version[:3])" 2>/dev/null || echo ERROR)}%py3_ver
# directories
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/f5b9833d8ce4403af7bf2d06794f8ae6d0df57e9
More information about the pld-cvs-commit
mailing list