Disable platform python on old releases

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-09-01 12:21:19 +02:00
parent 3717051fa0
commit c0e6847225

View File

@ -4,17 +4,20 @@
%bcond_with python3
# python-flask is not in RHEL7
%bcond_with tests
# platform-python is not in RHEL7
%bcond_with platform_python
%else
%bcond_without python3
%bcond_without platform_python
%bcond_without tests
%endif
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
%bcond_without platform_python
%else
%bcond_with platform_python
%endif
Name: librepo
Version: 1.8.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Repodata downloading library
License: LGPLv2+
@ -206,6 +209,9 @@ popd
%endif # with platform_python
%changelog
* Fri Sep 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.8.0-2
- Disable platform python on old releases
* Wed Aug 23 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.8.0-1
- Update to 1.8.0