|
|
|
@ -1,16 +1,18 @@
|
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
|
Name: python-zope-interface
|
|
|
|
|
Version: 3.4.1
|
|
|
|
|
Version: 3.5.0
|
|
|
|
|
Release: 1%{?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
|
|
|
|
|
Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
|
|
|
|
|
Source1: ZPL-2.1.txt
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
# zope.interface 3.5.0 won't build the C extension if distutils are used
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Interfaces are a mechanism for labeling objects as conforming to a given API
|
|
|
|
@ -54,6 +56,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
%{python_sitearch}/zope*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 3.5.0-1
|
|
|
|
|
- update to 3.5.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 31 2008 Paul Howarth <paul@city-fan.org> 3.4.1-1
|
|
|
|
|
- update to 3.4.1
|
|
|
|
|
- incorporate suggestions from Felix Schwarz:
|
|
|
|
|