diff --git a/.gitignore b/.gitignore index 69bd8e0..24df3b8 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,7 @@ /libreport-2.15.2.tar.gz /libreport-2.16.0.tar.gz /libreport-2.17.0.tar.gz +/libreport-2.17.1.tar.gz +/libreport-2.17.2.tar.gz +/libreport-2.17.3.tar.gz +/libreport-2.17.4.tar.gz diff --git a/README.packit b/README.packit index 8ede8cd..0070ced 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.31.0. +The file was generated using packit 0.59.1.dev24+g41a74ae. diff --git a/gating.yaml b/gating.yaml index 9ca798d..f075ad7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,9 +4,6 @@ product_versions: decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} --- !Policy @@ -15,8 +12,4 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - diff --git a/libreport.spec b/libreport.spec index 4b11b15..1b60673 100644 --- a/libreport.spec +++ b/libreport.spec @@ -12,14 +12,17 @@ %define glib_ver 2.43.4 +%if "x%{?rhbz_product_version}" == "x" + %define rhbz_product_version %(source /etc/os-release; echo ${REDHAT_BUGZILLA_PRODUCT_VERSION}) +%endif + Summary: Generic library for reporting various problems Name: libreport -Version: 2.17.0 +Version: 2.17.4 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 @@ -189,6 +192,14 @@ email address. Summary: %{name}'s bugzilla plugin Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} +Requires: python3-libreport = %{version}-%{release} +%if "%{rhbz_product_version}" == "rawhide" +Requires: python3-satyr +Suggests: python3-pytest +Suggests: python3-vcrpy +%endif + + %description plugin-bugzilla Plugin to report bugs into the bugzilla. @@ -277,7 +288,7 @@ data over ftp/scp... %endif %prep -%autosetup -p1 +%autosetup %build ./autogen.sh @@ -551,6 +562,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.* %{_mandir}/man5/bugzilla_format_kernel.conf.5.* %{_bindir}/reporter-bugzilla +%{_bindir}/reporter-bugzilla-python + +%post plugin-bugzilla +%if "%{rhbz_product_version}" == "rawhide" + mv %{_bindir}/reporter-bugzilla-python %{_bindir}/reporter-bugzilla +%endif + %endif %files plugin-mantisbt @@ -618,6 +636,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/report_fedora.conf.5.* %endif +%if %{with bugzilla} %if 0%{?rhel} && ! 0%{?eln} %files rhel-bugzilla %{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml @@ -635,7 +654,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml %endif -%if %{with bugzilla} %files anaconda %if 0%{?fedora} || 0%{?eln} %{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml @@ -652,6 +670,50 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Wed Sep 14 2022 Packit - 2.17.4-1 +- Release version 2.17.4 (Michal Fabik) +- Update changelog (Michal Fabik) +- reporter_bugzilla.py: Don't ask for API key if we already have it (Michal Srb) +- internal/bz_connection.py: Fix "TypeError: 'builtin_function_or_method' object is not subscriptable" (Michal Srb) +- reporter_bugzilla.py: Fix condition (Michal Srb) +- internal/reported_to.py: Prevent possible ValueError if the line is for example empty (Michal Srb) +- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb) +- reporter_bugzilla.py: Default value for `b_create_private` is False (Michal Srb) +- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb) + +* Mon Sep 12 2022 Packit - 2.17.3-1 +- Release version 2.17.3 (Michal Fabik) +- Update changelog (Michal Fabik) +- Run autoupdate to get rid of obsolete/deprecated macros (Michal Fabik) +- Makefile: Move README.md to EXTRA_DIST (Michal Fabik) +- Don't build rhel-bugzilla --without-bugzilla (Michal Fabik) +- doc: Make anaconda_event.conf depend on BZ (Michal Fabik) +- Fix build --without-bugzilla (Michal Fabik) +- spec: Don't list files twice (Michal Fabik) +- Update translations (mgrabovsky) + +* Thu Aug 18 2022 Packit - 2.17.2-1 +- Release version 2.17.2 (Michal Fabik) +- reporter_bugzilla.py: Build, install (Michal Fabik) +- reporter_bugzilla.py: Add tests (Michal Fabik) +- reporter_bugzilla.py: Initial commit (Michal Fabik) +- Update translations (mgrabovsky) +- abrt_xmlrpc: Don't warn about discarded const (Michal Fabik) +- Update translations (mgrabovsky) +- Update translations (mgrabovsky) +- Use conventional lseek arg order (Michal Fabik) +- Update translations (mgrabovsky) +- ignored_words: Ignore more debuginfod URLs (Matěj Grabovský) + +* Thu Mar 10 2022 Packit Service - 2.17.1-1 +- Release version 2.17.1 (Michal Srb) +- reporter-bugzilla: send API key in HTTP header (Michal Srb) +- tito: Use custom tagger that updates changelog (Matěj Grabovský) +- changelog: Fix link to release diff (Matěj Grabovský) +- reporter-bugzilla: Fix APIKey name (Michal Fabik) +- Update translations (mgrabovsky) +- Add missing va_end (Michal Židek) + * Mon Feb 21 2022 Michal Srb - 2.17.0-1 - [reporter-bugzilla] Use API key for authentication diff --git a/sources b/sources index a783223..08e0a4f 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (libreport-2.16.0.tar.gz) = cbb456bb63b92a255fecb87191160c2e515b4434cbaaa9404fb69f4f78421fe98c4057969f4b6b99e1b52e815d83c483bdbbe606a4bd2e34cf5268769e7bd40f -SHA512 (libreport-2.17.0.tar.gz) = 587f1d4d57845c9f52086c6f2e6c5b9f60cdb4b087719e392286c761b2e86163de72c82aa7dadef0e28ed9b29eec61faa3bcb34a834b9442121273a1fd9da399 +SHA512 (libreport-2.17.4.tar.gz) = 71332661396e693ee469f029978df3d1bfc68a2a180913f120c765a5599c41aadcee17f58e428b9cc2a1b0fec565b4d4766169767dbca5141217ecd52051f111