- Run the test suite

- Don't move the text files
epel8
Robin Lee 15 years ago
parent 6d99a62a84
commit a81774c03a

@ -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 <robinlee.sysu@gmail.com> - 3.6.1-4
- Run the test suite
- Don't move the text files
* Tue Aug 31 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-3
- Remove python-zope-filesystem from requirements
- Own %%{python_sitearch}/zope/

Loading…
Cancel
Save