From 7b5261251a8adbc761f535398eafa96c5a88bd84 Mon Sep 17 00:00:00 2001 From: Matěj Grabovský Date: Oct 11 2019 13:08:34 +0000 Subject: New upstream release 2.11.0 Signed-off-by: Matěj Grabovský --- diff --git a/.gitignore b/.gitignore index 7c0c165..adce7e2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /libreport-2.9.7.tar.gz /libreport-2.10.0.tar.gz /libreport-2.10.1.tar.gz +/libreport-2.11.0.tar.gz diff --git a/libreport.spec b/libreport.spec index 32975d4..9c72078 100644 --- a/libreport.spec +++ b/libreport.spec @@ -12,38 +12,18 @@ %define glib_ver 2.43.4 -%if 0%{?fedora} || 0%{?rhel} > 7 -# Enable python3 build by default -%bcond_without python3 -%else -%bcond_with python3 -%endif - -%if 0%{?rhel} > 7 || 0%{?fedora} > 28 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - Summary: Generic library for reporting various problems Name: libreport -Version: 2.10.1 -Release: 4%{?dist} +Version: 2.11.0 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz - BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel BuildRequires: desktop-file-utils -%if %{with python2} -BuildRequires: python2-devel -%endif # with python2 -%if %{with python3} BuildRequires: python3-devel -%endif # with python3 BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: libtar-devel @@ -115,22 +95,6 @@ Requires: libreport-web = %{version}-%{release} %description web-devel Development headers for libreport-web -%if %{with python2} -%package -n python2-libreport -Summary: Python bindings for report-libs -Requires: libreport = %{version}-%{release} -Requires: python2-dnf -%{?python_provide:%python_provide python2-libreport} -# Remove before F30 -Provides: %{name}-python = %{version}-%{release} -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} - -%description -n python2-libreport -Python bindings for report-libs. -%endif # with python2 - -%if %{with python3} %package -n python3-libreport Summary: Python 3 bindings for report-libs %if 0%{?_module_build} @@ -146,14 +110,9 @@ Requires: libreport = %{version}-%{release} %endif Requires: python3-dnf %{?python_provide:%python_provide python3-libreport} -# Remove before F30 -Provides: %{name}-python3 = %{version}-%{release} -Provides: %{name}-python3%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python3 < %{version}-%{release} %description -n python3-libreport Python 3 bindings for report-libs. -%endif # with python3 %package cli Summary: %{name}'s command line interface @@ -177,7 +136,6 @@ bugs Summary: GTK front-end for libreport Requires: libreport = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} -Requires: fros >= 1.0 Provides: report-gtk = 0:0.23-1 Obsoletes: report-gtk < 0:0.23-1 @@ -257,12 +215,7 @@ BuildRequires: %{libjson_devel} Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} %if 0%{?rhel} -%if %{with python2} -Requires: python-rhsm -%endif # with python2 -%if %{with python3} Requires: python3-subscription-manager-rhsm -%endif # with python3 %endif %description plugin-ureport @@ -364,16 +317,9 @@ data over ftp/scp... %autosetup -S git %build -autoreconf -if -intltoolize --automake -c -f - -%configure \ -%if %{without python2} - --without-python2 \ -%endif # with python2 -%if %{without python3} - --without-python3 \ -%endif # with python3 +autoconf + +CFLAGS="%{optflags} -Werror" %configure \ %if %{without bugzilla} --without-bugzilla \ %endif @@ -492,6 +438,7 @@ fi %posttrans gtk gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %endif %files -f %{name}.lang @@ -533,6 +480,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/problem_data.h %{_includedir}/libreport/problem_report.h %{_includedir}/libreport/report.h +%{_includedir}/libreport/report_result.h %{_includedir}/libreport/run_event.h %{_includedir}/libreport/file_obj.h %{_includedir}/libreport/config_item_info.h @@ -540,7 +488,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/problem_details_widget.h %{_includedir}/libreport/problem_details_dialog.h %{_includedir}/libreport/problem_utils.h -%{_includedir}/libreport/report_result.h %{_includedir}/libreport/ureport.h %{_includedir}/libreport/reporters.h %{_includedir}/libreport/global_configuration.h @@ -562,17 +509,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/libreport_curl.h %{_libdir}/pkgconfig/libreport-web.pc -%if %{with python2} -%files -n python2-libreport -%{python2_sitearch}/report/ -%{python2_sitearch}/reportclient/ -%endif # with python2 - -%if %{with python3} %files -n python3-libreport %{python3_sitearch}/report/ %{python3_sitearch}/reportclient/ -%endif # with python3 %files cli %{_bindir}/report-cli @@ -585,9 +524,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files gtk %{_bindir}/report-gtk %{_libdir}/libreport-gtk.so.* -%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf -%{_mandir}/man5/emergencyanalysis_event.conf.5.* -%{_datadir}/%{name}/events/report_EmergencyAnalysis.xml %{_mandir}/man1/report-gtk.1.gz %files gtk-devel @@ -621,7 +557,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf %{_datadir}/%{name}/conf.d/plugins/mailx.conf %{_datadir}/%{name}/events/report_Mailx.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml %{_datadir}/%{name}/workflows/workflow_Mailx.xml %{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf @@ -639,7 +574,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man1/reporter-ureport.1.gz %{_mandir}/man5/ureport.conf.5.gz %{_datadir}/%{name}/events/report_uReport.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml %if 0%{?rhel} %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf %{_datadir}/%{name}/workflows/workflow_uReport.xml @@ -653,12 +587,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %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_formatdup_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 # FIXME: remove with the old gui %{_mandir}/man1/reporter-bugzilla.1.gz %{_mandir}/man5/report_Bugzilla.conf.5.* @@ -667,6 +601,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/bugzilla_format.conf.5.* %{_mandir}/man5/bugzilla_formatdup.conf.5.* %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.* +%{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.* %{_mandir}/man5/bugzilla_format_kernel.conf.5.* %{_bindir}/reporter-bugzilla %endif @@ -710,7 +645,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_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 %if 0%{?rhel} %attr(600,root,root)%{_sysconfdir}/%{name}/cert-api.access.redhat.com.pem %endif @@ -815,6 +749,26 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Fri Oct 11 2019 Matěj Grabovský 2.11.0-1 +- Remove option for emergency analysis/reporting +- tests: proc_helpers: Fix call to errx() +- plugins: bugzilla: Add format file for libreport duplicates +- dbus: Remove interface introspection files +- lib: Don't warn if a configuration key is missing +- gtk: Handle event wildcards in command line options +- gtk: Better handling of workflows with wildcarded events +- lib: Remove unused arguments of prepare_commands +- lib: Reintroduce error logging in event XML parser +- cli: Continue running even if some events have no commands +- cli: Expand event name wildcards +- lib: Expand wildcards in workflow XML parser +- lib: Add a function to expand wildcards in event names +- style: Simplify code; fix typos in comments +- gitignore: Update with missing and renamed generated files +- dirsize: Skip dirs in which sosreport is being generated +- tests: Fix Python tests being skipped unconditionally +- Remove Python 2 support + * Thu Oct 03 2019 Miro Hrončok - 2.10.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 8632440..c84495f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.10.1.tar.gz) = 9c110b7a5f0e3803d12b7ea05eaf47b3a37592612f0107ed7e6604168d283a09bf3d08b805b415ec90772498062b742814cbf86a8b9ea0f4cc5ff774a77d9671 +SHA512 (libreport-2.11.0.tar.gz) = 6ca2e6d8f9e1c8fc09ab4eabc2cb7277be38eeda7982724e346fe830a67162bf6e49f1d420336df3924ffba70e06a7f92dc2a6e41cdad332603315b5f6684143