- Remove python-zope-filesystem from requirements

- Own %%{python_sitearch}/zope/
- BR: python-setuptools-devel renamed to python-setuptools
- Spec cleaned up
epel8
Robin Lee 15 years ago
parent e76296faaf
commit 6d99a62a84

@ -1,18 +1,13 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-zope-interface Name: python-zope-interface
Version: 3.6.1 Version: 3.6.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Zope 3 Interface Infrastructure Summary: Zope 3 Interface Infrastructure
Group: Development/Libraries Group: Development/Libraries
License: ZPLv2.1 License: ZPLv2.1
URL: http://pypi.python.org/pypi/zope.interface URL: http://pypi.python.org/pypi/zope.interface
Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel BuildRequires: python-devel
# zope.interface 3.5.0 won't build the C extension if distutils are used BuildRequires: python-setuptools
BuildRequires: python-setuptools-devel
Requires: python-zope-filesystem
%description %description
Interfaces are a mechanism for labeling objects as conforming to a given API Interfaces are a mechanism for labeling objects as conforming to a given API
@ -27,7 +22,6 @@ This is a separate distribution of the zope.interface package used in Zope 3.
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot}
# Will put docs in %{_docdir} instead # Will put docs in %{_docdir} instead
@ -42,16 +36,21 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%check %check
# Skipped; would require zope.testing, which isn't in Fedora yet # Skipped; would require zope.testing, which isn't in Fedora yet
%clean
%{__rm} -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt src/zope/interface/*.txt %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt src/zope/interface/*.txt
%{python_sitearch}/zope/* %{python_sitearch}/zope/interface/
%{python_sitearch}/zope.interface* %dir %{python_sitearch}/zope/
%{python_sitearch}/zope.interface-*.egg-info
%{python_sitearch}/zope.interface-*-nspkg.pth
%changelog %changelog
* Tue Aug 31 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-3
- Remove python-zope-filesystem from requirements
- Own %%{python_sitearch}/zope/
- BR: python-setuptools-devel renamed to python-setuptools
- Spec cleaned up
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.6.1-2 * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

Loading…
Cancel
Save