Re-enable the python2 subpackages on Fedora for now. Some

programs still need it and have not moved to python3 yet. (#1564347)
This commit is contained in:
David Cantrell 2018-04-12 12:46:49 -04:00
parent 2deed01c45
commit 9f7dfbba3c

View File

@ -6,7 +6,7 @@
Name: pykickstart Name: pykickstart
Version: 3.12 Version: 3.12
Release: 3%{?dist} Release: 2.1%{?dist}
License: GPLv2 and MIT License: GPLv2 and MIT
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: Python utilities for manipulating kickstart files. Summary: Python utilities for manipulating kickstart files.
@ -15,6 +15,7 @@ Url: http://fedoraproject.org/wiki/pykickstart
# our distribution. Thus the source is only available from # our distribution. Thus the source is only available from
# within this srpm. # within this srpm.
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Patch0: p1
BuildArch: noarch BuildArch: noarch
@ -72,6 +73,7 @@ the pykickstart package.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%if %{with python2} %if %{with python2}
rm -rf %{py3dir} rm -rf %{py3dir}