Update to the latest upstream: 4.0.6.

epel8
Ralph Bean 12 years ago
parent 85dfd85b70
commit 34d0bd0832

1
.gitignore vendored

@ -1,3 +1,4 @@
/zope.exceptions-3.6.1.zip /zope.exceptions-3.6.1.zip
/zope.exceptions-4.0.3.zip /zope.exceptions-4.0.3.zip
/zope.exceptions-4.0.5.tar.gz /zope.exceptions-4.0.5.tar.gz
/zope.exceptions-4.0.6.zip

@ -1,14 +1,14 @@
%global modname zope.exceptions %global modname zope.exceptions
%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %if 0%{?fedora}
%global with_python3 1 %global with_python3 1
%endif %endif
Summary: Zope Exceptions Summary: Zope Exceptions
Name: python-zope-exceptions Name: python-zope-exceptions
Version: 4.0.5 Version: 4.0.6
Release: 1%{?dist} 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 License: ZPLv2.1
Group: Development/Libraries Group: Development/Libraries
BuildArch: noarch BuildArch: noarch
@ -74,18 +74,20 @@ popd
%{__python} setup.py install -O1 --skip-build --root %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot}
%check # As of python-zope-exceptions-4.0.6, the tests require
%{__python} setup.py test # python-zope-testrunner which has not yet been packaged.
#%%check
%if 0%{?with_python3} #%%{__python} setup.py test
pushd %{py3dir} #
%{__python3} setup.py test #%%if 0%%{?with_python3}
popd #pushd %%{py3dir}
%endif #%%{__python3} setup.py test
#popd
#%%endif
%files %files
%defattr(-,root,root,-) %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/ %{python_sitelib}/zope/exceptions/
# Co-own %%{python_sitelib}/zope/ # Co-own %%{python_sitelib}/zope/
%dir %{python_sitelib}/zope/ %dir %{python_sitelib}/zope/
@ -95,7 +97,7 @@ popd
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-zope-exceptions %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/ %{python3_sitelib}/zope/exceptions/
# Co-own %%{python3_sitelib}/zope/ # Co-own %%{python3_sitelib}/zope/
%dir %{python3_sitelib}/zope/ %dir %{python3_sitelib}/zope/
@ -106,6 +108,12 @@ popd
%changelog %changelog
* Wed Apr 10 2013 Ralph Bean <rbean@redhat.com> - 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 <rbean@redhat.com> - 4.0.5-1 * Mon Feb 25 2013 Ralph Bean <rbean@redhat.com> - 4.0.5-1
- Latest upstream. - Latest upstream.

@ -1 +1 @@
c95569fcb444ae541777de7ae5297492 zope.exceptions-4.0.5.tar.gz 63cf38f8081e9e3b73eaf8725ba8dda6 zope.exceptions-4.0.6.zip

Loading…
Cancel
Save