From a81774c03ab98f7470293e67d8a3789a6f4c198a Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Wed, 15 Sep 2010 10:29:36 +0800 Subject: [PATCH] - Run the test suite - Don't move the text files --- python-zope-interface.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/python-zope-interface.spec b/python-zope-interface.spec index 6bea068..2447e0c 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -1,12 +1,12 @@ Name: python-zope-interface Version: 3.6.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zope 3 Interface Infrastructure Group: Development/Libraries License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.interface Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: python-setuptools %description @@ -24,9 +24,6 @@ CFLAGS="%{optflags}" %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} -# Will put docs in %{_docdir} instead -%{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/*.txt - # C files don't need to be packaged %{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.c @@ -34,17 +31,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build %{__chmod} 755 %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.so %check -# Skipped; would require zope.testing, which isn't in Fedora yet +%{__python} setup.py test %files %defattr(-,root,root,-) -%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt src/zope/interface/*.txt +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt %{python_sitearch}/zope/interface/ +# Co-own %%{python_sitearch}/zope/ %dir %{python_sitearch}/zope/ %{python_sitearch}/zope.interface-*.egg-info %{python_sitearch}/zope.interface-*-nspkg.pth %changelog +* Wed Sep 15 2010 Robin Lee - 3.6.1-4 +- Run the test suite +- Don't move the text files + * Tue Aug 31 2010 Robin Lee - 3.6.1-3 - Remove python-zope-filesystem from requirements - Own %%{python_sitearch}/zope/