diff options
| author | Michel Alexandre Salim <michel.salim@cs.fau.de> | 2011-04-07 21:07:16 +0200 |
|---|---|---|
| committer | Michel Alexandre Salim <michel.salim@cs.fau.de> | 2011-04-07 21:07:16 +0200 |
| commit | 9afdd13f6e2340f6cb1f18ea19cd7af14f1cf410 (patch) | |
| tree | 662d48940eb8fb34da2c72c2276f6f8577e586b5 /python/python-testtools.spec | |
| parent | 5b1bad506e7f71567033d13794630b2b9582ebf3 (diff) | |
| download | specs-9afdd13f6e2340f6cb1f18ea19cd7af14f1cf410.tar.gz specs-9afdd13f6e2340f6cb1f18ea19cd7af14f1cf410.tar.xz specs-9afdd13f6e2340f6cb1f18ea19cd7af14f1cf410.zip | |
python-testtools: incorporate review feedback
Diffstat (limited to 'python/python-testtools.spec')
| -rw-r--r-- | python/python-testtools.spec | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/python/python-testtools.spec b/python/python-testtools.spec index c075ad1..1b95307 100644 --- a/python/python-testtools.spec +++ b/python/python-testtools.spec @@ -1,17 +1,17 @@ -# sitelib for noarch packages, sitearch for others (remove the unneeded one) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: python-testtools Version: 0.9.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extensions to the Python unit testing framework +Group: Development/Tools License: MIT URL: https://launchpad.net/testtools Source0: http://pypi.python.org/packages/source/t/testtools/testtools-0.9.8.tar.gz BuildArch: noarch -BuildRequires: python-devel +BuildRequires: python2-devel %description testtools is a set of extensions to the Python standard library's unit testing @@ -30,13 +30,21 @@ framework. 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,-) %doc LICENSE HACKING MANUAL NEWS README %{python_sitelib}/* %changelog +* Thu Apr 7 2011 Michel Salim <salimma@fedoraproject.org> - 0.9.8-2 +- Add definitions needed by older RPM versions + * Thu Apr 7 2011 Michel Salim <salimma@fedoraproject.org> - 0.9.8-1 - Initial package |
