[python-pymilter/el6] python cmd fix - need to use __python not __python2 on el6
Paul Wouters
pwouters at fedoraproject.org
Sun Jan 19 02:11:25 UTC 2014
commit 60560f38466bc5fdde89dd179b8b51f3ec8b989e
Author: Paul Wouters <pwouters at redhat.com>
Date: Sat Jan 18 18:11:20 2014 -0800
python cmd fix - need to use __python not __python2 on el6
python-pymilter.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pymilter.spec b/python-pymilter.spec
index 792a726..02dfe8c 100644
--- a/python-pymilter.spec
+++ b/python-pymilter.spec
@@ -25,10 +25,10 @@ DSNs, and doing CBV.
%setup -q -n pymilter-%{version}
%build
-CFLAGS="%{optflags}" %{__python2} setup.py build
+CFLAGS="%{optflags}" %{__python} setup.py build
%install
-%{__python2} setup.py install --root=%{buildroot}
+%{__python} setup.py install --root=%{buildroot}
mkdir -p %{buildroot}%{_localstatedir}/run/milter
mkdir -p %{buildroot}%{_localstatedir}/log/milter
mkdir -p %{buildroot}%{_libdir}/pymilter
More information about the scm-commits
mailing list