diff --git a/python-service-identity.spec b/python-service-identity.spec index 68be0e7..68db58e 100644 --- a/python-service-identity.spec +++ b/python-service-identity.spec @@ -4,7 +4,7 @@ Name: python-service-identity Version: 16.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Service identity verification for pyOpenSSL License: MIT @@ -31,7 +31,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %if 0%{?fedora} > 20 # For tests -#BuildRequires: python3-pytest >= 2.5 +BuildRequires: python3-pytest >= 2.5 BuildRequires: python3-attrs BuildRequires: python3-pyasn1 BuildRequires: python3-pyasn1-modules @@ -113,8 +113,8 @@ PYTHONPATH="%{buildroot}/%{python2_sitelib}" py.test --doctest-modules --doctest %if 0%{?with_python3} pushd %{py3dir} # https://bitbucket.org/hpk42/pytest/issue/539/pytest-doctest-modules-fails-if-python -#echo "collect_ignore = ['build']" >> conftest.py -#PYTHONPATH="%{buildroot}/%{python3_sitelib}" py.test-3 --doctest-modules --doctest-glob='*.rst' +echo "collect_ignore = ['build']" >> conftest.py +PYTHONPATH="%{buildroot}/%{python3_sitelib}" py.test-3 --doctest-modules --doctest-glob='*.rst' popd %endif # with_python3 %endif # fedora > 20 @@ -143,7 +143,10 @@ popd %endif # with_python3 %changelog -* Mon Dec 12 2016 Stratakis Charalampos - 16.0.0-3 +* Tue Dec 13 2016 Charalampos Stratakis - 16.0.0-4 +- Enable tests + +* Mon Dec 12 2016 Charalampos Stratakis - 16.0.0-3 - Rebuild for Python 3.6 - Disable python3 tests for now