Remove python2-pyparted from Fedora 32+

https://bugzilla.redhat.com/show_bug.cgi?id=1761222
This commit is contained in:
Miro Hrončok 2019-10-20 21:53:02 +02:00
parent e15d28a3aa
commit 32e3694413

View File

@ -22,28 +22,19 @@
%bcond_without python3
%endif
# XXX: uncomment this when things that use python2-pyparted can use
# the python3 version. Be sure to change '28' to the appropriate
# version number. Also, replace all the '@' signs with '%' because
# I cannot remember this macro construct, I'm just commenting it out.
# --dcantrell
#@if @{fedora} > 28
## disable python2 by default
#@bcond_with python2
#@else
#@bcond_without python2
#@endif
# XXX: And delete this when you can disable python2 by default. --dcantrell
%if %{fedora} > 31
# disable python2 by default
%bcond_with python2
%else
%bcond_without python2
%endif
%endif
Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.11.2
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
URL: https://github.com/rhinstaller/pyparted
@ -150,6 +141,9 @@ popd
%endif
%changelog
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.2-5
- Remove python2-pyparted from Fedora 32+
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.2-4
- Rebuilt for Python 3.8.0rc1 (#1748018)