From 32e3694413e1a7209167e443c2186c975d198eae Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Oct 20 2019 19:53:16 +0000 Subject: Remove python2-pyparted from Fedora 32+ https://bugzilla.redhat.com/show_bug.cgi?id=1761222 --- diff --git a/pyparted.spec b/pyparted.spec index edcffaa..6a2d2c0 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -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 - 1:3.11.2-5 +- Remove python2-pyparted from Fedora 32+ + * Thu Oct 03 2019 Miro Hrončok - 1:3.11.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018)