diff --git a/python-meh.spec b/python-meh.spec index 264ba9f912..e94328b79a 100644 --- a/python-meh.spec +++ b/python-meh.spec @@ -7,7 +7,7 @@ Summary: A python library for handling exceptions Name: python-meh Url: https://github.com/rhinstaller/python-meh Version: 0.44 -Release: 6%{?dist} +Release: 7%{?dist} # This is a Red Hat maintained package which is specific to # our distribution. Thus the source is only available from # within this srpm. @@ -56,14 +56,15 @@ Requires: python-six %description -n python2-meh %_description -%package gui +%package -n python2-meh-gui Summary: Graphical user interface for the python-meh library Requires: python-meh = %{version}-%{release} Requires: pygobject3 Requires: gtk3 Requires: libreport-gtk >= %{libreportver} +%{?python_provide:%python_provide python2-meh-gui} -%description gui +%description -n python2-meh-gui The python-meh-gui package provides a GUI for the python-meh library. %if 0%{with_python3} @@ -139,7 +140,7 @@ rm -rf %{buildroot} %{python_sitelib}/* %exclude %{python_sitelib}/meh/ui/gui.py* -%files gui +%files -n python2-meh-gui %{python_sitelib}/meh/ui/gui.py* %{_datadir}/python-meh @@ -153,6 +154,9 @@ rm -rf %{buildroot} %{_datadir}/python-meh %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.44-7 +- Also rename the gui subpackage to python2-meh-gui + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.44-6 - Python 2 binary package renamed to python2-meh See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3