diff --git a/.gitignore b/.gitignore index 291c73f..cf81cd5 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ python-meh-0.13.tar.gz /python-meh-0.49.tar.gz /python-meh-0.50.tar.gz /python-meh-0.51.tar.gz +/python-meh-0.52.tar.gz diff --git a/python-meh.spec b/python-meh.spec index 9cb85e1..c97ec6f 100644 --- a/python-meh.spec +++ b/python-meh.spec @@ -3,8 +3,8 @@ Summary: A python library for handling exceptions Name: python-meh Url: https://github.com/rhinstaller/python-meh -Version: 0.51 -Release: 5%{?dist} +Version: 0.52 +Release: 1%{?dist} # This is a Red Hat maintained package which is specific to # our distribution. Thus the source is only available from # within this srpm. @@ -18,13 +18,14 @@ BuildArch: noarch BuildRequires: make BuildRequires: gettext BuildRequires: intltool +%if 0%{?rhel} < 10 || 0%{?fedora} BuildRequires: libreport-gtk >= %{libreportver} BuildRequires: libreport-cli >= %{libreportver} - +BuildRequires: python3-libreport >= %{libreportver} +%endif BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-dbus -BuildRequires: python3-libreport >= %{libreportver} %global _description\ The python-meh package is a python library for handling, saving, and reporting \ @@ -40,8 +41,10 @@ Obsoletes: python2-meh < 0.46-1 Requires: python3 Requires: python3-dbus Requires: python3-rpm +%if 0%{?rhel} < 10 || 0%{?fedora} Requires: libreport-cli >= %{libreportver} Requires: python3-libreport >= %{libreportver} +%endif %description -n python3-meh The python3-meh package is a python 3 library for handling, saving, and reporting @@ -54,7 +57,9 @@ Obsoletes: python-meh-gui < 0.46-1 Obsoletes: python2-meh-gui < 0.46-1 Requires: python3-meh = %{version}-%{release} Requires: python3-gobject, gtk3 +%if 0%{?rhel} < 10 || 0%{?fedora} Requires: libreport-gtk >= %{libreportver} +%endif %description -n python3-meh-gui The python3-meh-gui package provides a GUI for the python3-meh library. @@ -85,17 +90,9 @@ make DESTDIR=%{buildroot} install %{_datadir}/python-meh %changelog -* Fri Jan 26 2024 Fedora Release Engineering - 0.51-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 0.51-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jul 21 2023 Fedora Release Engineering - 0.51-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jun 15 2023 Python Maint - 0.51-2 -- Rebuilt for Python 3.12 +* Tue Jun 04 2024 Martin Kolman - 0.52-1 +- Make libreport optional (mkolman) + Resolves: RHEL-35676 * Fri Jan 20 2023 Martin Kolman - 0.51-1 - SPDX compatible License: line (mkolman) diff --git a/sources b/sources index ebbf33c..af4dfe8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-meh-0.51.tar.gz) = ebfbb4fdfb64b35bb500dcae3917ea611bb314317944ba047c913c0edeeac49d4a4bd22c1c2f1899c315bdbca47e2358883956e4749381ad0650e4f64843aeb3 +SHA512 (python-meh-0.52.tar.gz) = 2f7235de88834dd21200a46429ea3233064c51f6e2a2e9300f46922ae2b6285e8e702a2b9aee4d04f17e9a2a255ac68e4f8974cedc0b29858364991b99f1fc36