diff --git a/.gitignore b/.gitignore index 3df22cd..ddfedf6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /zope.exceptions-3.6.1.zip /zope.exceptions-4.0.3.zip /zope.exceptions-4.0.5.tar.gz +/zope.exceptions-4.0.6.zip diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec index 6dad13f..f1d0964 100644 --- a/python-zope-exceptions.spec +++ b/python-zope-exceptions.spec @@ -1,14 +1,14 @@ %global modname zope.exceptions -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?fedora} %global with_python3 1 %endif Summary: Zope Exceptions Name: python-zope-exceptions -Version: 4.0.5 +Version: 4.0.6 Release: 1%{?dist} -Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip License: ZPLv2.1 Group: Development/Libraries BuildArch: noarch @@ -74,18 +74,20 @@ popd %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%check -%{__python} setup.py test - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py test -popd -%endif +# As of python-zope-exceptions-4.0.6, the tests require +# python-zope-testrunner which has not yet been packaged. +#%%check +#%%{__python} setup.py test +# +#%%if 0%%{?with_python3} +#pushd %%{py3dir} +#%%{__python3} setup.py test +#popd +#%%endif %files %defattr(-,root,root,-) -%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%doc LICENSE.txt CHANGES.rst README.rst COPYRIGHT.txt %{python_sitelib}/zope/exceptions/ # Co-own %%{python_sitelib}/zope/ %dir %{python_sitelib}/zope/ @@ -95,7 +97,7 @@ popd %if 0%{?with_python3} %files -n python3-zope-exceptions -%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%doc LICENSE.txt CHANGES.rst README.rst COPYRIGHT.txt %{python3_sitelib}/zope/exceptions/ # Co-own %%{python3_sitelib}/zope/ %dir %{python3_sitelib}/zope/ @@ -106,6 +108,12 @@ popd %changelog +* Wed Apr 10 2013 Ralph Bean - 4.0.6-1 +- Update to the latest upstream. +- Modernized python3 conditional. +- Renamed CHANGES and README from .txt to .rst. +- Disabled tests which now require python-zope-testrunner. + * Mon Feb 25 2013 Ralph Bean - 4.0.5-1 - Latest upstream. diff --git a/sources b/sources index 8e31ab8..3c9ca26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c95569fcb444ae541777de7ae5297492 zope.exceptions-4.0.5.tar.gz +63cf38f8081e9e3b73eaf8725ba8dda6 zope.exceptions-4.0.6.zip