diff --git python-spiffgtkwidgets/python-spiffgtkwidgets.spec python-spiffgtkwidgets/python-spiffgtkwidgets.spec.tmp index 2f2be2bb32..09f419ef1e 100644 --- python-spiffgtkwidgets/python-spiffgtkwidgets.spec +++ python-spiffgtkwidgets/python-spiffgtkwidgets.spec.tmp @@ -3,7 +3,7 @@ Summary: Collection of useful Gtk widgets Name: python-spiffgtkwidgets Version: 0.2.0 -Release: 11.%{git}%{?dist} +Release: 12.%{git}%{?dist} # src/SpiffGtkWidgets/FormEditor/Elements/Element.py # and src/SpiffGtkWidgets/FormEditor/FloatBox.py # are LGPLv3, all other AGPLv3 @@ -15,18 +15,25 @@ Source0: https://github.com/knipknap/SpiffGtkWidgets/tarball/%{git} # https://github.com/knipknap/SpiffGtkWidgets/issues/4 Patch0: %{name}-fsf-fix.patch -Requires: hippo-canvas-python -Requires: pygtk2 - BuildRequires: python-setuptools BuildRequires: python2-devel -%description -Spiff Gtk Widgets provides a collection of Gtk widgets -- An annotated text view and a calendar similar to Google's online calendar. +%global _description\ +Spiff Gtk Widgets provides a collection of Gtk widgets\ +- An annotated text view and a calendar similar to Google's online calendar.\ +%description %_description + +%package -n python2-spiffgtkwidgets +Summary: %summary +Requires: hippo-canvas-python +Requires: pygtk2 +%{?python_provide:%python_provide python2-spiffgtkwidgets} + +%description -n python2-spiffgtkwidgets %_description + %prep ln -sf %{SOURCE0} source0.tar.gz %global SOURCE0 source0.tar.gz @@ -42,13 +49,17 @@ ln -sf %{SOURCE0} source0.tar.gz %{__python} setup.py --quiet install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-spiffgtkwidgets %doc AUTHORS COPYING ChangeLog README TODO %{python_sitelib}/SpiffGtkWidgets %{python_sitelib}/*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-12.59a713f +- Python 2 binary package renamed to python2-spiffgtkwidgets + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-11.59a713f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild