summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2012-11-29 11:28:03 (GMT)
committerMartin Sivak <msivak@redhat.com>2012-11-29 11:28:03 (GMT)
commit714f546372db8fba6b1078e04af2493da3860bd9 (patch)
tree88e0dafc3fa3679ae5da2faa7de2e726e92cb9f0
parent13feb8b26c57b2d846e541ca5323bf9ab3bf901a (diff)
downloadpython-di-714f546372db8fba6b1078e04af2493da3860bd9.zip
python-di-714f546372db8fba6b1078e04af2493da3860bd9.tar.gz
python-di-714f546372db8fba6b1078e04af2493da3860bd9.tar.xz
Fix for two spec file ommisions according to the package review (rhbz#880195)
-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