From 2a452bba1e3c24e25b6310d6538b56f33634925a Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Jan 26 2010 11:55:54 +0000 Subject: Permit using different python version for brp-python-bytecompile (#521141) - pass %{__python} macro to brp-python-bytecompile instead of using hardwired /usr/bin/python, as suggested by Bowe Strickland --- diff --git a/macros b/macros index cb9398c..69ac0f3 100644 --- a/macros +++ b/macros @@ -95,7 +95,7 @@ %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}} \ /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \ /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \ - /usr/lib/rpm/brp-python-bytecompile \ + /usr/lib/rpm/brp-python-bytecompile %{__python} \ /usr/lib/rpm/redhat/brp-python-hardlink \ %{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \ %{nil}