diff --git a/python-pytools.changes b/python-pytools.changes index 0900fdf..8a66ffb 100644 --- a/python-pytools.changes +++ b/python-pytools.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 2 10:41:40 UTC 2013 - speilicke@suse.com + +- Fix dependencies +- Run testsuite +- Package README + ------------------------------------------------------------------- Wed May 1 15:54:27 UTC 2013 - prusnak@opensuse.org diff --git a/python-pytools.spec b/python-pytools.spec index a7e74b5..5dd3189 100644 --- a/python-pytools.spec +++ b/python-pytools.spec @@ -25,6 +25,9 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute +# Test requirements: +BuildRequires: python-decorator +Requires: python-decorator BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -49,16 +52,17 @@ nonetheless, here's what's on offer: %setup -q -n pytools-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} +%check +python setup.py test %files %defattr(-,root,root,-) +%doc README %{python_sitelib}/* %changelog