diff --git a/librepo.spec b/librepo.spec index e45c82c..96daae7 100644 --- a/librepo.spec +++ b/librepo.spec @@ -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 - 1.8.0-2 +- Disable platform python on old releases + * Wed Aug 23 2017 Igor Gnatenko - 1.8.0-1 - Update to 1.8.0