diff --git a/python-productmd.spec b/python-productmd.spec index 8a774ea..cbb1460 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -1,7 +1,7 @@ -%if 0%{?fedora} >= 31 -%bcond_with python2 -%else +%if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_without python2 +%else +%bcond_with python2 %endif %bcond_without python3 @@ -9,7 +9,7 @@ Name: python-%{srcname} Version: 1.28 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library providing parsers for metadata related to OS installation License: LGPLv2+ @@ -102,6 +102,9 @@ Requires: python%{python3_pkgversion}-six %endif %changelog +* Tue Sep 29 2020 Lubomír Sedlář - 1.28-2 +- Fix Python 2 conditional for ELN + * Fri Sep 25 2020 Lubomír Sedlář - 1.28-1 - New upstream release