[python-extras] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
Bohuslav Kabrda
bkabrda at fedoraproject.org
Fri May 16 06:53:20 UTC 2014
commit eab5eab728116d82eba34f07cd88e076627e581f
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Fri May 16 08:53:06 2014 +0200
Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
- Bootstrap tests to break circular dependency with python-testtools
python-extras.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/python-extras.spec b/python-extras.spec
index 797fc34..c122dd5 100644
--- a/python-extras.spec
+++ b/python-extras.spec
@@ -2,9 +2,11 @@
%global with_python3 1
%endif
+%global with_tests 0
+
Name: python-extras
Version: 0.0.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Useful extra bits for Python
License: MIT
@@ -14,11 +16,16 @@ Source0: https://pypi.python.org/packages/source/e/extras/extras-%{versio
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
+%if 0%{?with_tests}
BuildRequires: python-testtools
+%endif
+
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+%if 0%{?with_tests}
BuildRequires: python3-testtools
+%endif # with_tests
%endif
%description
@@ -75,6 +82,7 @@ popd
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%check
+%if 0%{?with_tests}
%{__python} setup.py test
%if 0%{?with_python3}
@@ -82,6 +90,7 @@ pushd %{py3dir}
%{__python3} setup.py test
popd
%endif # with_python3
+%endif # with_tests
@@ -98,6 +107,10 @@ popd
%changelog
+* Wed May 14 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 0.0.3-4
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+- Bootstrap tests to break circular dependency with python-testtools
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list