Make sure to BuildRequire python-setuptools

Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
Chris Lalancette 2011-07-05 16:33:36 -04:00
parent 89eb77f5d6
commit 49506fab6e

View File

@ -2,17 +2,17 @@
Name: python-prettytable
Version: 0.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python library to display tabular data in tables
Group: Development/Languages
License: BSD
Source0: http://pypi.python.org/packages/source/P/PrettyTable/prettytable-0.5.tar.gz
URL: http://pypi.python.org/pypi/PrettyTable
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
%description
PrettyTable is a simple Python library designed to make it quick and easy to
@ -35,15 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
* Tue Jul 05 2011 Chris Lalancette <clalance@redhat.com> - 0.5-2
- BuildRequire python-setuptools
* Wed Jun 29 2011 Chris Lalancette <clalance@redhat.com> - 0.5-1
- Initial package.