From 52e339296adab9a8f44ac75db182eda84212e1ee Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 11 May 2020 15:05:12 -0400 Subject: [PATCH] Fix Python configuration for ELN/RHEL 9 Rework bconds for Python now that there are no Fedoras left that should use Python2 Signed-off-by: Stephen Gallagher --- python-distro.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/python-distro.spec b/python-distro.spec index e2cd8ab..ad2d930 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -1,18 +1,15 @@ %global pypi_name distro %if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 +%bcond_without python2 %else %bcond_without python3 -%endif -%if 0%{?fedora} > 29 %bcond_with python2 -%else -%bcond_without python2 %endif Name: python-%{pypi_name} Version: 1.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Linux Distribution - a Linux OS platform information API License: ASL 2.0 @@ -122,6 +119,11 @@ rm -rf %{pypi_name}.egg-info %endif %changelog +* Mon May 11 2020 Stephen Gallagher - 1.5.0-2 +- Fix Python configuration for ELN/RHEL 9 +- Rework bconds for Python now that there are no Fedoras left that should + use Python2 + * Tue Mar 31 2020 Marek Blaha - 1.5.0-1 - rebase to distro 1.5.0