import libreport-2.9.5-14.el8
This commit is contained in:
parent
02bccb91b6
commit
ddc4eeca29
|
@ -0,0 +1,34 @@
|
|||
From aea02b3719a161a05dac815955cfa1bb630e8da4 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Fri, 24 Jul 2020 10:45:37 +0200
|
||||
Subject: [PATCH] plugins: reporter-rhtsupport: Fix command-line parsing
|
||||
|
||||
cb81dc0870949fbacaa6e2384e91fc4de4df43a5 drops -u and -C options, but
|
||||
does not remove them from the enumeration, which maps the options to the
|
||||
option struct, leading to -F and -D not being parsed.
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1860285
|
||||
---
|
||||
src/plugins/reporter-rhtsupport.c | 6 ++----
|
||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/plugins/reporter-rhtsupport.c b/src/plugins/reporter-rhtsupport.c
|
||||
index 411bffc..7f5aafa 100644
|
||||
--- a/src/plugins/reporter-rhtsupport.c
|
||||
+++ b/src/plugins/reporter-rhtsupport.c
|
||||
@@ -404,10 +404,8 @@ int main(int argc, char **argv)
|
||||
OPT_c = 1 << 2,
|
||||
OPT_t = 1 << 3,
|
||||
OPT_f = 1 << 4,
|
||||
- OPT_u = 1 << 5,
|
||||
- OPT_C = 1 << 6,
|
||||
- OPT_F = 1 << 7,
|
||||
- OPT_D = 1 << 8,
|
||||
+ OPT_F = 1 << 5,
|
||||
+ OPT_D = 1 << 6,
|
||||
};
|
||||
/* Keep enum above and order of options below in sync! */
|
||||
struct options program_options[] = {
|
||||
--
|
||||
2.26.2
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
Summary: Generic library for reporting various problems
|
||||
Name: libreport
|
||||
Version: 2.9.5
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://abrt.readthedocs.org/
|
||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
@ -69,6 +69,8 @@ Patch0028: 0028-dirsize-Skip-dirs-in-which-sosreport-is-being-genera.patch
|
|||
Patch0029: 0029-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
|
||||
# git format-patch --no-numbered --start-number=30 --topo-order 2.9.5-12.el8
|
||||
Patch0030: 0030-ureport-Drop-Strata-integration.patch
|
||||
# git format-patch --no-numbered --start-number=31 --topo-order 2.9.5-13.el8
|
||||
Patch0031: 0031-plugins-reporter-rhtsupport-Fix-command-line-parsing.patch
|
||||
|
||||
# autogen.sh is need to regenerate all the Makefile files
|
||||
Patch9000: 9000-Add-autogen.sh.patch
|
||||
|
@ -849,6 +851,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jul 24 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.9.5-14
|
||||
- Add patch for #1860285
|
||||
|
||||
* Mon Jun 29 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.9.5-13
|
||||
- Add patch for #1848903
|
||||
|
||||
|
|
Loading…
Reference in New Issue