From 9eac2835c9f896d1d577c4f92c11788771a25073 Mon Sep 17 00:00:00 2001 From: Matej Stuchlik Date: Nov 23 2015 14:52:23 +0000 Subject: Update to 0.2.1 --- diff --git a/.gitignore b/.gitignore index 21ebed5..7aba739 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /distlib-0.1.9.zip +/distlib-0.2.1.zip diff --git a/python-distlib.spec b/python-distlib.spec index 85b801f..b3d5a3d 100644 --- a/python-distlib.spec +++ b/python-distlib.spec @@ -1,9 +1,11 @@ %global srcname distlib %global with_python3 1 +# tests require network access +%global with_tests 0 Name: python-distlib -Version: 0.1.9 -Release: 3%{?dist} +Version: 0.2.1 +Release: 2%{?dist} Summary: Low-level components of distutils2/packaging, augmented with higher-level APIs License: BSD @@ -67,16 +69,15 @@ popd %endif # with_python3 %check -# Tests fail due to them requiring networking -%{__python2} setup.py test 2>&1 | grep "failures=7, errors=1" +%if 0%{?with_tests} +%{__python2} setup.py test %if 0%{?with_python3} pushd %{py3dir} -# 8 tests fail due to them requiring networking, -# 1 fails due to it being sensitive to dictionary ordering -%{__python3} setup.py test 2>&1 | grep "failures=8, errors=1" +%{__python3} setup.py test popd %endif # with_python3 +%endif # with_tests %install %{__python2} setup.py install --skip-build --root %{buildroot} @@ -100,6 +101,9 @@ popd %endif # with_python3 %changelog +* Mon Nov 23 2015 Matej Stuchlik - 0.2.1-2 +- Update to 0.2.1 + * Tue Nov 10 2015 Fedora Release Engineering - 0.1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 diff --git a/sources b/sources index 7674894..75a505a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e16aaea8b222785602c6386a83bf7b24 distlib-0.1.9.zip +39fd9dd95f0f28ff68324c606e2d9067 distlib-0.2.1.zip