diff --git a/SOURCES/9100-Add-almalinux-plugin.patch b/SOURCES/9100-Add-almalinux-plugin.patch index 636099b..3944f1b 100644 --- a/SOURCES/9100-Add-almalinux-plugin.patch +++ b/SOURCES/9100-Add-almalinux-plugin.patch @@ -15,9 +15,6 @@ Subject: [PATCH] Add AlmaLinux plugin src/plugins/report_AlmaLinuxBugTracker.conf | 4 + src/plugins/report_AlmaLinuxBugTracker.xml | 543 ++++++++++++++++++ src/plugins/report_AlmaLinuxBugTracker.xml.in | 66 +++ - src/plugins/report_EmergencyAnalysis.xml | 4 +- - src/plugins/report_uReport.xml | 4 +- - src/plugins/report_uReport.xml.in | 2 +- src/plugins/reporter-mantisbt.c | 4 +- src/plugins/reporter-ureport.c | 2 +- src/plugins/ureport.conf | 2 +- @@ -73,26 +70,33 @@ diff --git a/doc/Makefile.am b/doc/Makefile.am index 837036b..a3ec01b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am -@@ -51,7 +51,9 @@ MAN5_TXT += libreport.conf.txt - MAN5_TXT += mailx.conf.txt - MAN5_TXT += mailx_event.conf.txt - MAN5_TXT += print_event.conf.txt -+MAN5_TXT += report_AlmaLinuxBugTracker.conf.txt - MAN5_TXT += report_Bugzilla.conf.txt -+MAN5_TXT += report_almalinux.conf.txt - MAN5_TXT += report_event.conf.txt - MAN5_TXT += report_fedora.conf.txt - MAN5_TXT += report_centos.conf.txt -@@ -71,7 +73,8 @@ MAN5_TXT += ureport.conf.txt - MAN5_TXT += upload.conf.txt +@@ -51,6 +51,7 @@ + mailx_event.conf.txt \ + print_event.conf.txt \ + report_event.conf.txt \ ++ report_almalinux.conf.txt \ + report_fedora.conf.txt \ + report_centos.conf.txt \ + report_Logger.conf.txt \ +@@ -61,6 +62,7 @@ + report_uploader.conf.txt \ + report_Uploader.conf.txt \ + report_CentOSBugTracker.conf.txt \ ++ report_AlmaLinuxBugTracker.conf.txt \ + uploader_event.conf.txt \ + ureport.conf.txt \ + upload.conf.txt +@@ -73,7 +75,8 @@ + endif MAN5_PREFORMATTED = -MAN5_PREFORMATTED += centos_report_event.conf.5 +MAN5_PREFORMATTED += centos_report_event.conf.5 \ -+ almalinux_report_event.conf.5 ++ almalinux_report_event.conf.5 # Manual pages are generated from .txt via Docbook man1_MANS = ${MAN1_TXT:%.txt=%.1} + diff --git a/doc/almalinux_report_event.conf.5 b/doc/almalinux_report_event.conf.5 new file mode 100644 index 0000000..71c3fcb @@ -202,7 +206,7 @@ diff --git a/po/POTFILES.in b/po/POTFILES.in index fc740ff..5a3306f 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in -@@ -45,6 +45,7 @@ src/plugins/reporter-rhtsupport-parse.c +@@ -41,6 +41,7 @@ src/plugins/reporter-systemd-journal.c src/plugins/reporter-upload.c src/plugins/reporter-mantisbt.c @@ -210,7 +214,7 @@ index fc740ff..5a3306f 100644 src/plugins/report_CentOSBugTracker.xml.in src/plugins/report_Kerneloops.xml.in src/plugins/report_Logger.xml.in -@@ -59,6 +60,15 @@ src/plugins/rhbz.c +@@ -52,6 +53,15 @@ src/plugins/mantisbt.c src/plugins/reporter-ureport.c src/report-newt/report-newt.c @@ -224,13 +228,13 @@ index fc740ff..5a3306f 100644 +src/workflows/workflow_AlmaLinuxVmcore.xml.in +src/workflows/workflow_AlmaLinuxXorg.xml.in src/workflows/workflow_AnacondaFedora.xml.in - src/workflows/workflow_AnacondaRHEL.xml.in src/workflows/workflow_AnacondaRHELBugzilla.xml.in + src/workflows/workflow_AnacondaUpload.xml.in diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index f73e7dc..695a056 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am -@@ -70,9 +70,11 @@ reporters_events_conf += report_Bugzilla.conf +@@ -68,9 +68,11 @@ endif if BUILD_MANTISBT @@ -240,21 +244,21 @@ index f73e7dc..695a056 100644 -reporters_events_conf += report_CentOSBugTracker.conf +reporters_events_conf += report_CentOSBugTracker.conf \ -+ report_AlmaLinuxBugTracker.conf ++ report_AlmaLinuxBugTracker.conf endif if BUILD_UREPORT -@@ -102,7 +104,8 @@ dist_eventsdef_DATA = \ - rhtsupport_event.conf \ +@@ -95,7 +97,8 @@ + mailx_event.conf \ + print_event.conf \ uploader_event.conf \ - emergencyanalysis_event.conf \ - centos_report_event.conf + centos_report_event.conf \ -+ almalinux_report_event.conf ++ almalinux_report_event.conf reporters_extra_dist = if BUILD_BUGZILLA -@@ -116,7 +119,8 @@ reporters_extra_dist += report_uReport.xml.in +@@ -109,7 +112,8 @@ endif if BUILD_MANTISBT @@ -312,8 +316,8 @@ diff --git a/src/plugins/mantisbt.c b/src/plugins/mantisbt.c index 1750dc5..92804d4 100644 --- a/src/plugins/mantisbt.c +++ b/src/plugins/mantisbt.c -@@ -336,7 +336,7 @@ soap_add_new_issue_parameters(soap_request_t *req, - free(type); +@@ -335,7 +335,7 @@ + error_msg_and_die(_("SOAP: Failed to create a new property in custom fields.")); } - soap_node_add_child_node(issue_node, "os_build", SOAP_STRING, version); @@ -321,7 +325,7 @@ index 1750dc5..92804d4 100644 soap_node_add_child_node(issue_node, "category", SOAP_STRING, category); soap_node_add_child_node(issue_node, "summary", SOAP_STRING, summary); soap_node_add_child_node(issue_node, "description", SOAP_STRING, description); -@@ -891,7 +891,7 @@ mantisbt_search_duplicate_issues(mantisbt_settings_t *settings, const char *cate +@@ -862,7 +862,7 @@ // version if (version != NULL) @@ -961,76 +965,23 @@ index 0000000..2e7a246 + + + -diff --git a/src/plugins/report_EmergencyAnalysis.xml b/src/plugins/report_EmergencyAnalysis.xml -index c129404..b9d87e8 100644 ---- a/src/plugins/report_EmergencyAnalysis.xml -+++ b/src/plugins/report_EmergencyAnalysis.xml -@@ -111,7 +111,7 @@ - - - no -- https://retrace.fedoraproject.org/faf/dumpdirs/new/ -+ https://localhost/faf/dumpdirs/new/ - - - - - -- -\ No newline at end of file -+ -diff --git a/src/plugins/report_uReport.xml b/src/plugins/report_uReport.xml -index 80b8daa..302a0bb 100644 ---- a/src/plugins/report_uReport.xml -+++ b/src/plugins/report_uReport.xml -@@ -134,7 +134,7 @@ - Адреса вебслужби uReport - uReport 网络服务器地址 - uReport 網路服務的位址 -- https://retrace.fedoraproject.org/faf -+ https://retrace.almalinux.org/faf - - - - -- -\ No newline at end of file -+ -diff --git a/src/plugins/report_uReport.xml.in b/src/plugins/report_uReport.xml.in -index 996f20b..430871b 100644 ---- a/src/plugins/report_uReport.xml.in -+++ b/src/plugins/report_uReport.xml.in -@@ -14,7 +14,7 @@ - <_label>uReport Server URL - no - <_description>Address of uReport webservice -- https://bug-report.redhat.com -+ https://retrace.almalinux.org/faf - - - - - -- -\ No newline at end of file -+ diff --git a/SPECS/libreport.spec b/SPECS/libreport.spec index 8b535ed..a975e85 100644 --- a/SPECS/libreport.spec +++ b/SPECS/libreport.spec @@ -25,8 +25,6 @@ Patch2: 0002-rhbz-Be-a-little-bit-more-defensive-when-working-wit.patch Patch3: 0003-rhbz-Retry-XML-RPC-calls-when-uploading-attachments.patch # AlmaLinux: add almalinux plugin Patch9100: 9100-Add-almalinux-plugin.patch -# AlmaLinux: remove rhtsupport (patch from Oracle) -Patch9101: 9101-Remove-rhtsupport.patch BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel