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