diff --git python-meh/python-meh.spec python-meh/python-meh.spec.tmp index 2f1f6d0f4c..94e03139aa 100644 --- python-meh/python-meh.spec +++ python-meh/python-meh.spec.tmp @@ -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: 5%{?dist} +Release: 6%{?dist} # This is a Red Hat maintained package which is specific to # our distribution. Thus the source is only available from # within this srpm. @@ -38,16 +38,23 @@ BuildRequires: libreport-python3 >= %{libreportver} BuildRequires: python3-six %endif +%global _description\ +The python-meh package is a python library for handling, saving, and reporting\ +exceptions. + +%description %_description + +%package -n python2-meh +Summary: %summary Requires: python Requires: dbus-python Requires: rpm-python Requires: libreport-cli >= %{libreportver} Requires: libreport-python >= %{libreportver} Requires: python-six +%{?python_provide:%python_provide python2-meh} -%description -The python-meh package is a python library for handling, saving, and reporting -exceptions. +%description -n python2-meh %_description %package gui Summary: Graphical user interface for the python-meh library @@ -126,7 +133,7 @@ popd %clean rm -rf %{buildroot} -%files -f %{name}.lang +%files -n python2-meh -f %{name}.lang %defattr(-,root,root,-) %doc ChangeLog COPYING %{python_sitelib}/* @@ -146,6 +153,10 @@ rm -rf %{buildroot} %{_datadir}/python-meh %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.44-6 +- Python 2 binary package renamed to python2-meh + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.44-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild