diff --git a/.gitignore b/.gitignore index d1622df..10d8f1b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ zope.interface-3.6.1.tar.gz /zope.interface-3.7.0.tar.gz /zope.interface-4.0.2.tar.gz /zope.interface-4.0.4.zip +/zope.interface-4.0.5.zip diff --git a/python-zope-interface.spec b/python-zope-interface.spec index fdf8cd5..04a44aa 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -4,11 +4,13 @@ %if 0%{?fedora} > 12 %global with_python3 1 +%{!?py3ver: %global py3ver %(%{?__python3} -c 'import sys; print(sys.version[0:3])' 2>/dev/null)} %endif + Name: python-zope-interface -Version: 4.0.4 -Release: 2%{?dist} +Version: 4.0.5 +Release: 1%{?dist} Summary: Zope 3 Interface Infrastructure Group: Development/Libraries License: ZPLv2.1 @@ -16,6 +18,7 @@ URL: http://pypi.python.org/pypi/zope.interface Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip BuildRequires: python2-devel BuildRequires: python-setuptools +BuildRequires: python-nose BuildRequires: python-zope-event # since F14 Obsoletes: python-zope-filesystem <= 1-8 @@ -23,6 +26,7 @@ Obsoletes: python-zope-filesystem <= 1-8 %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-nose BuildRequires: python3-zope-event %endif @@ -93,11 +97,11 @@ popd %{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.c %check -%{__python} setup.py test +PYTHONPATH=$(pwd) nosetests %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py test +PYTHONPATH=$(pwd) nosetests-%{py3ver} popd %endif @@ -125,6 +129,10 @@ popd %endif %changelog +* Thu Apr 11 2013 Luke Macken - 4.0.5-1 +- Update to 4.0.5 (#891046) +- Run the unit tests with nose + * Tue Mar 26 2013 David Malcolm - 4.0.4-2 - remove rhel clause from python3 guard diff --git a/sources b/sources index c66adf8..d8317fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b74c4da844e1f96b7e29f0324f14377d zope.interface-4.0.4.zip +caf26025ae1b02da124a58340e423dfe zope.interface-4.0.5.zip