summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python-di.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/python-di.spec b/python-di.spec
index a5034d5..1d91d9c 100644
--- a/python-di.spec
+++ b/python-di.spec
@@ -18,6 +18,7 @@ URL: http://fedorapeople.org/cgit/msivak/public_git/python-di.git/
Source0: http://pypi.python.org/packages/source/d/di/di-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: python-setuptools-devel
BuildRequires: python-nose
#Requires:
BuildArch: noarch
@@ -32,6 +33,9 @@ It is intended to be used in unit testing environments.
%prep
%setup -q -n di-%{version}
+# remove upstream egg-info
+rm -rf *.egg-info
+
%build
%{__python} setup.py build