File python-setuptools_trial.spec of Package python-setuptools_trial
%global libname setuptools_trial
Name: python-%{libname}
Version: 0.5.12
Release: 7%{?dist}
Summary: Setuptools plugin that makes unit tests execute with trial instead of pyunit
Group: Development/Languages
License: BSD
URL: http://allmydata.org/trac/setuptools_trial
Source0: http://pypi.python.org/packages/source/s/%{libname}/%{libname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel, python-twisted, python-setuptools
Requires: python-twisted, python-setuptools
%description
Setuptools plugin that makes unit tests execute with trial instead of pyunit
%prep
%setup -q -n %{libname}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm -rf %{buildroot}%{_docdir}
%files
%defattr(-,root,root,-)
%doc README.txt COPYING.SPL.txt
%{python_sitelib}/%{libname}
%{python_sitelib}/%{libname}-%{version}-*egg-info