Disable platform python on old releases

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-09-01 12:24:21 +02:00
parent 5fe4e61282
commit 4230798058

View File

@ -1,15 +1,18 @@
%bcond_without python2
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
%bcond_with python3 %bcond_with python3
%else %else
%bcond_without python3 %bcond_without python3
%endif %endif
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
%bcond_without python2
%bcond_without platform_python %bcond_without platform_python
%else
%bcond_with platform_python
%endif
Name: libcomps Name: libcomps
Version: 0.1.8 Version: 0.1.8
Release: 6%{?dist} Release: 7%{?dist}
Summary: Comps XML file manipulation library Summary: Comps XML file manipulation library
License: GPLv2+ License: GPLv2+
@ -203,6 +206,9 @@ popd
%endif # with platform_python %endif # with platform_python
%changelog %changelog
* Fri Sep 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.1.8-7
- Disable platform python on old releases
* Thu Aug 10 2017 Lumír Balhar <lbalhar@redhat.com> - 0.1.8-6 * Thu Aug 10 2017 Lumír Balhar <lbalhar@redhat.com> - 0.1.8-6
- Add Platform Python subpackage (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack) - Add Platform Python subpackage (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)