[mosquitto] update python2 macro

Fabian Affolter fab at fedoraproject.org
Sat Sep 21 13:08:21 UTC 2013


commit 8e446146b37eadf976643bed96d7e485ee6cb385
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Sat Sep 21 15:07:50 2013 +0200

    update python2 macro

 mosquitto.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mosquitto.spec b/mosquitto.spec
index cf67b32..bcffd00 100644
--- a/mosquitto.spec
+++ b/mosquitto.spec
@@ -57,7 +57,7 @@ export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
 make all %{?_smp_mflags}
 
 pushd lib/python
-%{__python} setup.py build
+%{__python2} setup.py build
 
 %install
 %if "%{_lib}" == "lib64"
@@ -66,7 +66,7 @@ export LIB_SUFFIX=64
 %make_install
 
 pushd lib/python
-%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
 popd
 
 cat > mosquitto.service << FOE


More information about the scm-commits mailing list