New upstream release 2.16.0
This commit is contained in:
parent
36ac44e99e
commit
dfa3ff2590
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@
|
|||||||
/libreport-2.14.0.tar.gz
|
/libreport-2.14.0.tar.gz
|
||||||
/libreport-2.15.1.tar.gz
|
/libreport-2.15.1.tar.gz
|
||||||
/libreport-2.15.2.tar.gz
|
/libreport-2.15.2.tar.gz
|
||||||
|
/libreport-2.16.0.tar.gz
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
From 976d3ffcee73a5d832cb757f2dc39aea21abd2f2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michal Fabik <mfabik@redhat.com>
|
|
||||||
Date: Thu, 4 Nov 2021 22:14:08 +0100
|
|
||||||
Subject: [PATCH] tests: Don't use deprecated assertEquals
|
|
||||||
|
|
||||||
unittest.assertEquals was deprecated in Python 3.2 and will no longer be
|
|
||||||
supported in 3.11
|
|
||||||
|
|
||||||
Resolves:
|
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=2019402
|
|
||||||
---
|
|
||||||
tests/client_python.at | 10 +++++-----
|
|
||||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/client_python.at b/tests/client_python.at
|
|
||||||
index d026ed70..75ec1890 100644
|
|
||||||
--- a/tests/client_python.at
|
|
||||||
+++ b/tests/client_python.at
|
|
||||||
@@ -35,22 +35,22 @@ class TestReportClientVerbose(unittest.TestCase):
|
|
||||||
del sys.modules["reportclient"]
|
|
||||||
|
|
||||||
def test_default(self):
|
|
||||||
- self.assertEquals(self.reportclient.verbose, 0)
|
|
||||||
+ self.assertEqual(self.reportclient.verbose, 0)
|
|
||||||
|
|
||||||
def test_assign(self):
|
|
||||||
self.reportclient.set_verbosity(1)
|
|
||||||
- self.assertEquals(self.reportclient.verbose, 1)
|
|
||||||
- self.assertEquals(os.environ["ABRT_VERBOSE"], "1")
|
|
||||||
+ self.assertEqual(self.reportclient.verbose, 1)
|
|
||||||
+ self.assertEqual(os.environ["ABRT_VERBOSE"], "1")
|
|
||||||
|
|
||||||
def test_load_from_environ(self):
|
|
||||||
os.environ["ABRT_VERBOSE"] = "2"
|
|
||||||
reload(self.reportclient)
|
|
||||||
- self.assertEquals(self.reportclient.verbose, 2)
|
|
||||||
+ self.assertEqual(self.reportclient.verbose, 2)
|
|
||||||
|
|
||||||
def test_recover_from_invalid_environ(self):
|
|
||||||
os.environ["ABRT_VERBOSE"] = "foo"
|
|
||||||
reload(self.reportclient)
|
|
||||||
- self.assertEquals(self.reportclient.verbose, 0)
|
|
||||||
+ self.assertEqual(self.reportclient.verbose, 0)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
@ -14,15 +14,12 @@
|
|||||||
|
|
||||||
Summary: Generic library for reporting various problems
|
Summary: Generic library for reporting various problems
|
||||||
Name: libreport
|
Name: libreport
|
||||||
Version: 2.15.2
|
Version: 2.16.0
|
||||||
Release: 11%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://abrt.readthedocs.org/
|
URL: https://abrt.readthedocs.org/
|
||||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2019402
|
|
||||||
Patch0: 0001-tests-Don-t-use-deprecated-assertEquals.patch
|
|
||||||
|
|
||||||
BuildRequires: %{dbus_devel}
|
BuildRequires: %{dbus_devel}
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
@ -37,8 +34,7 @@ BuildRequires: texinfo
|
|||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
BuildRequires: newt-devel
|
BuildRequires: newt-devel
|
||||||
BuildRequires: libproxy-devel
|
BuildRequires: satyr-devel >= 0.38
|
||||||
BuildRequires: satyr-devel >= 0.24
|
|
||||||
BuildRequires: glib2-devel >= %{glib_ver}
|
BuildRequires: glib2-devel >= %{glib_ver}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
|
|
||||||
@ -56,7 +52,7 @@ BuildRequires: augeas-devel
|
|||||||
BuildRequires: augeas
|
BuildRequires: augeas
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
Requires: libreport-filesystem = %{version}-%{release}
|
Requires: libreport-filesystem = %{version}-%{release}
|
||||||
Requires: satyr%{?_isa} >= 0.24
|
Requires: satyr%{?_isa} >= 0.38
|
||||||
Requires: glib2%{?_isa} >= %{glib_ver}
|
Requires: glib2%{?_isa} >= %{glib_ver}
|
||||||
Requires: libarchive%{?_isa}
|
Requires: libarchive%{?_isa}
|
||||||
|
|
||||||
@ -656,6 +652,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 17 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.16.0-1
|
||||||
|
- Bump satyr dependency to 0.38
|
||||||
|
- Bump libreport library revision to 2:1:0
|
||||||
|
- Drop build-time dependency on libproxy-devel
|
||||||
|
- Drop last reference to global_uuid file
|
||||||
|
- Don't use deprecated assertEquals() in tests
|
||||||
|
- Add DEBUGINFOD_URLS environment variable to ignored_words
|
||||||
|
- rhbz: Retry XML-RPC calls when uploading attachments
|
||||||
|
- rhbz: Be a little bit more defensive when working with subcomponents
|
||||||
|
- Update translations
|
||||||
|
|
||||||
* Thu Jan 13 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-11
|
* Thu Jan 13 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-11
|
||||||
- Backport patch for building with Python 3.11
|
- Backport patch for building with Python 3.11
|
||||||
(https://bugzilla.redhat.com/show_bug.cgi?id=2019402)
|
(https://bugzilla.redhat.com/show_bug.cgi?id=2019402)
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libreport-2.15.2.tar.gz) = c98003325fa70d674177c9f602a7f121815a9675701ee780ad8908ed69862f2c69be65c7483fd3f017ba299dda51ba304f0908c771c9d97cb5bba057e3a9c5dc
|
SHA512 (libreport-2.16.0.tar.gz) = cbb456bb63b92a255fecb87191160c2e515b4434cbaaa9404fb69f4f78421fe98c4057969f4b6b99e1b52e815d83c483bdbbe606a4bd2e34cf5268769e7bd40f
|
||||||
|
Loading…
Reference in New Issue
Block a user