diff --git a/python-kiwi.spec b/python-kiwi.spec index 09f7d1ec8d..0077272fe5 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -3,7 +3,7 @@ Name: python-kiwi Version: 1.9.38 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Framework for Python GUI applications Group: Development/Libraries @@ -13,16 +13,24 @@ Source0: https://pypi.python.org/packages/source/k/%{srcname}/%{srcname}- BuildRequires: python2-devel, pygtk2-devel >= 2.8, gettext, pkgconfig BuildRequires: python-setuptools -Requires: pygtk2 >= 2.8 -%description -Kiwi consists of a set of classes and wrappers for PyGTK that were -developed to provide a sort of framework for applications. Fully -object-oriented, and roughly Smalltalk's MVC, Kiwi provides a simple, -practical way to build forms, windows and widgets that transparently -access and display your object data. +%global _description\ +Kiwi consists of a set of classes and wrappers for PyGTK that were\ +developed to provide a sort of framework for applications. Fully\ +object-oriented, and roughly Smalltalk's MVC, Kiwi provides a simple,\ +practical way to build forms, windows and widgets that transparently\ +access and display your object data.\ + + +%description %_description + +%package -n python2-kiwi +Summary: %summary +Requires: pygtk2 >= 2.8 +%{?python_provide:%python_provide python2-kiwi} +%description -n python2-kiwi %_description %package glade Group: Development/Libraries @@ -62,8 +70,10 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %{find_lang} kiwi -%files -f kiwi.lang -%doc AUTHORS COPYING README +%global _docdir_fmt %{name} + +%files -n python2-kiwi -f kiwi.lang +%doc AUTHORS COPYING README NEWS %{_bindir}/* %{python_sitelib}/kiwi %{python_sitelib}/*.egg-info @@ -72,12 +82,15 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %{_libdir}/glade/modules/* %{_datadir}/glade - %files docs %doc doc/* examples %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.9.38-11 +- Python 2 binary package renamed to python2-kiwi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.9.38-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild