From 60e4b6c8fcfc9f4e1b074091a278f513c46853bb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2020 11:43:10 +0000 Subject: import libreport-2.9.5-15.el8 --- diff --git a/SOURCES/0001-ureport-use-python3-to-get-consumerCertDir.patch b/SOURCES/0001-ureport-use-python3-to-get-consumerCertDir.patch index e6fe7a6..1bf85ec 100644 --- a/SOURCES/0001-ureport-use-python3-to-get-consumerCertDir.patch +++ b/SOURCES/0001-ureport-use-python3-to-get-consumerCertDir.patch @@ -7,14 +7,14 @@ Related to #1592073 Signed-off-by: Matej Habrnal --- - src/lib/ureport.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) + src/lib/ureport.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ureport.c b/src/lib/ureport.c index c32c948a..d2045f0f 100644 --- a/src/lib/ureport.c +++ b/src/lib/ureport.c -@@ -81,9 +81,10 @@ rhsm_config_get_consumer_cert_dir(void) +@@ -81,9 +81,9 @@ rhsm_config_get_consumer_cert_dir(void) return xstrdup(result); result = run_in_shell_and_save_output(0, @@ -22,7 +22,6 @@ index c32c948a..d2045f0f 100644 + "python3 -c \"from rhsm.config import initConfig; print(initConfig().get('rhsm', 'consumerCertDir'))\"", NULL, NULL); -+ /* run_in_shell_and_save_output always returns non-NULL */ if (result[0] != '/') goto error; diff --git a/SOURCES/0004-replace-all-Fedora-URLs-by-corresponding-values-for-.patch b/SOURCES/0004-replace-all-Fedora-URLs-by-corresponding-values-for-.patch new file mode 100644 index 0000000..1cccb95 --- /dev/null +++ b/SOURCES/0004-replace-all-Fedora-URLs-by-corresponding-values-for-.patch @@ -0,0 +1,66 @@ +From dfc340b695d047018d38090e24a501f7b0c0dad1 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Tue, 28 Aug 2018 15:42:33 +0200 +Subject: [PATCH] replace all Fedora URLs by corresponding values for RHEL + +Signed-off-by: Matej Habrnal +--- + src/plugins/report_EmergencyAnalysis.xml.in | 2 +- + src/plugins/report_uReport.xml.in | 2 +- + src/plugins/reporter-ureport.c | 2 +- + src/plugins/ureport.conf | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/plugins/report_EmergencyAnalysis.xml.in b/src/plugins/report_EmergencyAnalysis.xml.in +index 3fb2bd23..c00a734f 100644 +--- a/src/plugins/report_EmergencyAnalysis.xml.in ++++ b/src/plugins/report_EmergencyAnalysis.xml.in +@@ -15,7 +15,7 @@ + + + + + +- +