[python-zope-testing] Latest upstream fixes py3 test suite.
Ralph Bean ☃
ralph at fedoraproject.org
Mon Feb 25 19:48:06 UTC 2013
commit abe95bde3e3c17411c79f0f5829388b69b51dc82
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Feb 25 14:47:58 2013 -0500
Latest upstream fixes py3 test suite.
.gitignore | 1 +
python-zope-testing.spec | 29 +++++++++++++++++------------
sources | 2 +-
3 files changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9d18371..9c1e18f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ zope.testing-3.9.5.tar.gz
/zope.testing-3.10.2.tar.gz
/zope.testing-3.10.3.tar.gz
/zope.testing-4.1.1.tar.gz
+/zope.testing-4.1.2.zip
diff --git a/python-zope-testing.spec b/python-zope-testing.spec
index 52a0377..838416e 100644
--- a/python-zope-testing.spec
+++ b/python-zope-testing.spec
@@ -1,17 +1,17 @@
%global modname zope.testing
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%if 0%{?fedora}
%global with_python3 1
%endif
Name: python-zope-testing
-Version: 4.1.1
-Release: 2%{?dist}
+Version: 4.1.2
+Release: 1%{?dist}
Summary: Zope Testing Framework
Group: Development/Languages
License: ZPLv2.1
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
BuildRequires: python-devel
@@ -83,16 +83,15 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%check
%{__python} setup.py test
-# The python3.3 tests don't completely pass yet.
-#%if 0%{?with_python3}
-#pushd %{py3dir}
-#%{__python3} setup.py test
-#popd
-#%endif
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif
%files
%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/
%exclude %{python_sitelib}/zope/testing/*.txt
%{python_sitelib}/%{modname}-*.egg-info
@@ -101,7 +100,7 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%if 0%{?with_python3}
%files -n python3-zope-testing
%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/
%exclude %{python3_sitelib}/zope/testing/*.txt
%{python3_sitelib}/%{modname}-*.egg-info
@@ -109,6 +108,12 @@ rm -f %{buildroot}%{python_sitelib}/zope/__init__.py*
%endif
%changelog
+* Mon Feb 25 2013 Ralph Bean <rbean at 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 at lists.fedoraproject.org> - 4.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 301dba8..b4f5000 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e3829841090d6adff718b8b73c87b6b zope.testing-4.1.1.tar.gz
+01c30c342c6a18002a762bd5d320a6e9 zope.testing-4.1.2.zip
More information about the scm-commits
mailing list