From 2ca0ec13c705d901ea981c736122db7b29e33761 Mon Sep 17 00:00:00 2001 From: chengquan Date: Mon, 30 Mar 2020 15:12:22 +0800 Subject: [PATCH 1/2] remove useless functions --- libreport.spec | 54 ++++---------------------------------------------- 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/libreport.spec b/libreport.spec index 0de3dd5..2ae48f9 100644 --- a/libreport.spec +++ b/libreport.spec @@ -3,7 +3,7 @@ Name: libreport Version: 2.10.1 -Release: 7 +Release: 8 License: GPLv2+ Summary: Generic library for reporting various problems URL: https://abrt.readthedocs.org/ @@ -17,8 +17,6 @@ BuildRequires: newt-devel libproxy-devel satyr-devel >= 0.24 glib2-devel >= 2.43 BuildRequires: glibc-all-langpacks xmlrpc-c-devel systemd-devel augeas-devel augeas xz lz4 BuildRequires: sed json-c-devel gdb -Requires: python-rhsm -Requires: python3-subscription-manager-rhsm Requires: satyr >= 0.24 Requires: glib2 >= 2.43 Requires: xz @@ -57,7 +55,6 @@ Obsoletes: %{name}-plugin-logger Provides: %{name}-plugin-systemd-journal Obsoletes: %{name}-plugin-systemd-journal -Provides: %{name}-plugin-ureport Obsoletes: %{name}-plugin-ureport Provides: %{name}-plugin-bugzilla @@ -66,8 +63,6 @@ Obsoletes: %{name}-plugin-bugzilla Provides: %{name}-plugin-mantisbt Obsoletes: %{name}-plugin-mantisbt - -Provides: %{name}-plugin-rhtsupport Obsoletes: %{name}-plugin-rhtsupport Provides: %{name}-compat @@ -124,14 +119,6 @@ Obsoletes: %{name}-python3 < %{version}-%{release} %description -n python3-libreport Python 3 bindings for report-libs. -%package rhel -Summary: Default configuration for reporting bugs via Red Hat infrastructure -Requires: %{name} = %{version}-%{release} - -%description rhel -Default configuration for reporting bugs via Red Hat infrastructure. -It is used to easily configure the reporting process for Red Hat systems. - %package_help %prep @@ -234,13 +221,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #plugin-systemd-journal %{_bindir}/reporter-systemd-journal -#plugin-ureport -%config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf -%{_datadir}/%{name}/conf.d/plugins/ureport.conf -%{_bindir}/reporter-ureport -%{_datadir}/%{name}/events/report_uReport.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml - #plugin-bugzilla %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf %{_datadir}/%{name}/conf.d/plugins/bugzilla.conf @@ -264,15 +244,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf %{_bindir}/reporter-mantisbt -#plugin-rhtsupport -%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf -%{_datadir}/%{name}/conf.d/plugins/rhtsupport.conf -%{_datadir}/%{name}/events/report_RHTSupport.xml -%{_datadir}/%{name}/events/report_RHTSupport_AddData.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml -%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf -%{_bindir}/reporter-rhtsupport - #compat %{_bindir}/report @@ -343,26 +314,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{python3_sitearch}/report/ %{python3_sitearch}/reportclient/ -%files rhel -%{_datadir}/%{name}/workflows/workflow_RHELCCpp.xml -%{_datadir}/%{name}/workflows/workflow_RHELKerneloops.xml -%{_datadir}/%{name}/workflows/workflow_RHELPython.xml -%{_datadir}/%{name}/workflows/workflow_RHELvmcore.xml -%{_datadir}/%{name}/workflows/workflow_RHELxorg.xml -%{_datadir}/%{name}/workflows/workflow_RHELLibreport.xml -%{_datadir}/%{name}/workflows/workflow_RHELJava.xml -%{_datadir}/%{name}/workflows/workflow_RHELJavaScript.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataCCpp.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataJava.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataKerneloops.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataLibreport.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataPython.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDatavmcore.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataxorg.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataJavaScript.xml -%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf -%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf - %files help %{_mandir}/man1/report-cli.1.gz %{_mandir}/man1/report-newt.1.gz @@ -410,6 +361,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/report_rhel.conf.5.* %changelog +* Mon Mar 30 2020 openEuler Buildteam - 2.10.1-8 +- remove useless functions + * Sat Mar 21 2020 openEuler Buildteam - 2.10.1-7 - add necessary BuildRequires -- Gitee From afd23c21bd45cf7c13e6cf2576e18853c265de0e Mon Sep 17 00:00:00 2001 From: chengquan Date: Mon, 30 Mar 2020 16:04:50 +0800 Subject: [PATCH 2/2] remove useless functions --- libreport.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libreport.spec b/libreport.spec index 2ae48f9..d05f4f7 100644 --- a/libreport.spec +++ b/libreport.spec @@ -57,7 +57,6 @@ Obsoletes: %{name}-plugin-systemd-journal Obsoletes: %{name}-plugin-ureport -Provides: %{name}-plugin-bugzilla Obsoletes: %{name}-plugin-bugzilla Provides: %{name}-plugin-mantisbt @@ -221,20 +220,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #plugin-systemd-journal %{_bindir}/reporter-systemd-journal -#plugin-bugzilla -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf -%{_datadir}/%{name}/conf.d/plugins/bugzilla.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf -%{_datadir}/%{name}/events/report_Bugzilla.xml -%{_datadir}/%{name}/events/watch_Bugzilla.xml -%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf -%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml -%{_bindir}/reporter-bugzilla - #plugin-mantisbt %config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf %{_datadir}/%{name}/conf.d/plugins/mantisbt.conf -- Gitee