Disable tests on releases earlier than 24

This commit is contained in:
Nathaniel McCallum 2016-11-10 10:08:18 -05:00
parent 6344bc6572
commit 126947554d
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
Name: python-cryptography Name: python-cryptography
Version: 1.5.3 Version: 1.5.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: PyCA's cryptography library Summary: PyCA's cryptography library
Group: Development/Libraries Group: Development/Libraries
@ -128,6 +128,7 @@ popd
%endif %endif
%if ! 0%{?fedora} < 24
%check %check
%{__python} setup.py test %{__python} setup.py test
@ -136,6 +137,7 @@ pushd %{py3dir}
%{__python3} setup.py test %{__python3} setup.py test
popd popd
%endif %endif
%endif
%files -n python2-cryptography %files -n python2-cryptography
@ -151,6 +153,9 @@ popd
%changelog %changelog
* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-2
- Disable tests on releases earlier than 24
* Mon Nov 07 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-1 * Mon Nov 07 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-1
- Update to v1.5.3 - Update to v1.5.3
- Update source URL - Update source URL