summaryrefslogtreecommitdiff
path: root/python-logilab-common.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-logilab-common.spec')
-rw-r--r--python-logilab-common.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/python-logilab-common.spec b/python-logilab-common.spec
index a33dba9..cfd7057 100644
--- a/python-logilab-common.spec
+++ b/python-logilab-common.spec
@@ -23,6 +23,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: python-devel python-setuptools python-unittest2 pytz
Requires: mx
+Requires: python-setuptools
Requires: %{python}-six >= 1.4.0
@@ -45,7 +46,7 @@ find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /
%install
rm -rf $RPM_BUILD_ROOT
-NO_SETUPTOOLS=1 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{?python_scriptarch: --install-scripts=%{python_scriptarch}}
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{?python_scriptarch: --install-scripts=%{python_scriptarch}}
rm -rf $RPM_BUILD_ROOT%{_python_sitelib}/logilab/common/test
%check