diff options
author | Nir Soffer <nirsof@gmail.com> | 2019-09-02 18:47:24 +0300 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-09-03 10:42:36 -0400 |
commit | 9dc11ea157f4cf26ce58af36ace8cbf706cd2098 (patch) | |
tree | 93fcba24b8ab7449a4600b5eba243a0b43674b50 /libvirt-python.spec.in | |
parent | 17937cc337b3697a3d46a9052b5836cd3d6b8a0f (diff) | |
download | libvirt-python-9dc11ea157f4cf26ce58af36ace8cbf706cd2098.tar.gz |
spec: Build python2 package in fedora < 31
Since commit ee0cfbe65c5d (spec: Unconditionally build python2 on
Fedora) python2-libvirt is not built on any Fedora version.
Fix the spec to drop python2-libvirt on Fedora 31.
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Diffstat (limited to 'libvirt-python.spec.in')
-rw-r--r-- | libvirt-python.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 64a30b5..8506840 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -13,7 +13,7 @@ %endif %define _with_python2 1 -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} > 30 || 0%{?rhel} > 7 %define _with_python2 0 %endif |