Fix conditional for Python 2 subpackage
It's only needed for EPEL 6 and 7. It was also triggering for ELN, which caused build failures.
This commit is contained in:
parent
79dd93d80a
commit
951412fd6a
@ -1,7 +1,7 @@
|
|||||||
%if 0%{?fedora} >= 31
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
%bcond_with python2
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
|
%else
|
||||||
|
%bcond_with python2
|
||||||
%endif
|
%endif
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 1.28
|
Version: 1.28
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Library providing parsers for metadata related to OS installation
|
Summary: Library providing parsers for metadata related to OS installation
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -102,6 +102,9 @@ Requires: python%{python3_pkgversion}-six
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 29 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.28-2
|
||||||
|
- Fix Python 2 conditional for ELN
|
||||||
|
|
||||||
* Fri Sep 25 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.28-1
|
* Fri Sep 25 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.28-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user