[python-prettytable] Make sure to BuildRequire python-setuptools

Chris Lalancette clalance at fedoraproject.org
Tue Jul 5 20:33:57 UTC 2011


commit 49506fab6eb17d66757415a90b47720dc7f347f3
Author: Chris Lalancette <clalance at redhat.com>
Date:   Tue Jul 5 16:33:36 2011 -0400

    Make sure to BuildRequire python-setuptools
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 python-prettytable.spec |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/python-prettytable.spec b/python-prettytable.spec
index 97a8a4d..f0d0e3e 100644
--- a/python-prettytable.spec
+++ b/python-prettytable.spec
@@ -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 at redhat.com> - 0.5-2
+- BuildRequire python-setuptools
+
 * Wed Jun 29 2011 Chris Lalancette <clalance at redhat.com> - 0.5-1
 - Initial package.


More information about the scm-commits mailing list