Python 2 binary package renamed to python2-pykickstart

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:19 -04:00
parent b2df1af3f0
commit 9451718ec7
1 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: pykickstart
Version: 2.37
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2 and MIT
Group: System Environment/Libraries
Summary: Python utilities for manipulating kickstart files.
@ -36,13 +36,15 @@ can be found in the packages python-kickstart and python3-kickstart
respectively.
# Python 2 library
%package -n python-kickstart
%package -n python2-kickstart
%{?python_provide:%python_provide python2-kickstart}
%{?python_provide:%python_provide python2-pykickstart}
Summary: Python 2 library for manipulating kickstart files.
Requires: python-six
Requires: python-requests
Requires: python-ordered-set
%description -n python-kickstart
%description -n python2-kickstart
Python 2 library for manipulating kickstart files. The binaries are found in
the pykickstart package.
@ -97,7 +99,7 @@ popd
%{_bindir}/ksshell
%{_mandir}/man1/*
%files -n python-kickstart
%files -n python2-kickstart
%defattr(-,root,root,-)
%doc docs/2to3
%doc docs/programmers-guide
@ -120,6 +122,10 @@ popd
%{python3_sitelib}/pykickstart/locale/
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.37-2
- Python 2 binary package renamed to python2-pykickstart
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Mon Jul 31 2017 Chris Lumens <clumens@redhat.com> - 2.37-1
- Remove the type annotations (dshea)
- Remove mypy checks. (dshea)