Latest upstream fixes py3 test suite.

epel8
Ralph Bean 12 years ago
parent 53a0c82ba3
commit abe95bde3e

1
.gitignore vendored

@ -3,3 +3,4 @@ zope.testing-3.9.5.tar.gz
/zope.testing-3.10.2.tar.gz /zope.testing-3.10.2.tar.gz
/zope.testing-3.10.3.tar.gz /zope.testing-3.10.3.tar.gz
/zope.testing-4.1.1.tar.gz /zope.testing-4.1.1.tar.gz
/zope.testing-4.1.2.zip

@ -1,17 +1,17 @@
%global modname zope.testing %global modname zope.testing
%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %if 0%{?fedora}
%global with_python3 1 %global with_python3 1
%endif %endif
Name: python-zope-testing Name: python-zope-testing
Version: 4.1.1 Version: 4.1.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: Zope Testing Framework Summary: Zope Testing Framework
Group: Development/Languages Group: Development/Languages
License: ZPLv2.1 License: ZPLv2.1
URL: http://pypi.python.org/pypi/%{modname} URL: http://pypi.python.org/pypi/%{modname}
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
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python-devel
@ -83,16 +83,15 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%check %check
%{__python} setup.py test %{__python} setup.py test
# The python3.3 tests don't completely pass yet. %if 0%{?with_python3}
#%if 0%{?with_python3} pushd %{py3dir}
#pushd %{py3dir} %{__python3} setup.py test
#%{__python3} setup.py test popd
#popd %endif
#%endif
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt CHANGES.txt README.txt src/zope/testing/*.txt %doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst src/zope/testing/*.txt
%{python_sitelib}/zope/testing/ %{python_sitelib}/zope/testing/
%exclude %{python_sitelib}/zope/testing/*.txt %exclude %{python_sitelib}/zope/testing/*.txt
%{python_sitelib}/%{modname}-*.egg-info %{python_sitelib}/%{modname}-*.egg-info
@ -101,7 +100,7 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-zope-testing %files -n python3-zope-testing
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt CHANGES.txt README.txt src/zope/testing/*.txt %doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst src/zope/testing/*.txt
%{python3_sitelib}/zope/testing/ %{python3_sitelib}/zope/testing/
%exclude %{python3_sitelib}/zope/testing/*.txt %exclude %{python3_sitelib}/zope/testing/*.txt
%{python3_sitelib}/%{modname}-*.egg-info %{python3_sitelib}/%{modname}-*.egg-info
@ -109,6 +108,12 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%endif %endif
%changelog %changelog
* Mon Feb 25 2013 Ralph Bean <rbean@redhat.com> - 4.1.2-1
- Latest upstream.
- Enabled python3 tests in the check section.
- Updated the with_python3 conditional.
- README and CHANGES renamed from .txt to .rst.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

@ -1 +1 @@
2e3829841090d6adff718b8b73c87b6b zope.testing-4.1.1.tar.gz 01c30c342c6a18002a762bd5d320a6e9 zope.testing-4.1.2.zip

Loading…
Cancel
Save