public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vit Mojzis <vmojzis@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/setroubleshoot] rawhide: setroubleshoot-3.3.37-1
Date: Thu, 18 Jun 2026 14:43:12 GMT	[thread overview]
Message-ID: <178179379227.1.17363565119776647996.rpms-setroubleshoot-081fabe6be6e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/setroubleshoot
            Branch : rawhide
            Commit : 081fabe6be6ec94822928749d5beb89df879278f
            Author : Vit Mojzis <vmojzis@redhat.com>
            Date   : 2026-06-18T16:01:36+02:00
            Stats  : +12/-46 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/setroubleshoot/c/081fabe6be6ec94822928749d5beb89df879278f?branch=rawhide

            Log:
            setroubleshoot-3.3.37-1

- Migrate from libxml2 to xml.etree.ElementTree
- Handle ImportError when setroubleshoot.browser is not available
- Add support for multiple commands in fix_cmd

---
diff --git a/.gitignore b/.gitignore
index c28da58..91bf858 100644
--- a/.gitignore
+++ b/.gitignore
@@ -221,3 +221,4 @@ setroubleshoot-2.2.93.tar.gz
 /setroubleshoot-3.3.34.tar.gz
 /setroubleshoot-3.3.35.tar.gz
 /setroubleshoot-3.3.36.tar.gz
+/setroubleshoot-3.3.37.tar.gz

diff --git a/0001-browser-Always-show-Report-Bug-button.patch b/0001-browser-Always-show-Report-Bug-button.patch
deleted file mode 100644
index 346e8b2..0000000
--- a/0001-browser-Always-show-Report-Bug-button.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From fb4a884fe6266e664cc886273bad3b2ae761118a Mon Sep 17 00:00:00 2001
-From: Vit Mojzis <vmojzis@redhat.com>
-Date: Thu, 11 Dec 2025 13:50:45 +0100
-Subject: [PATCH] browser: Always show "Report Bug" button
-
-Without python3-libreport the "Report Bug" button was not shown at all.
-After this change the button is always visible, but without libreport it
-is disabled and the tooltip tells the user how to enable it.
-
-Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
----
- src/setroubleshoot/browser.py | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/setroubleshoot/browser.py b/src/setroubleshoot/browser.py
-index 73fc26e..47788a7 100644
---- a/src/setroubleshoot/browser.py
-+++ b/src/setroubleshoot/browser.py
-@@ -548,11 +548,15 @@ class BrowserApplet:
-             report_button.connect("clicked", self.fix_bug, alert.local_id, plugin.analysis_id)
-             vbox.add(report_button)
- 
--        elif plugin.report_bug and has_libreport:
-+        elif plugin.report_bug:
-             report_button = Gtk.Button()
-             report_button.set_label(_("Report\nBug"))
-             report_button.show()
--            report_button.connect("clicked", self.report_bug, alert)
-+            if has_libreport:
-+                report_button.connect("clicked", self.report_bug, alert)
-+            else:
-+                report_button.set_sensitive(False)
-+                report_button.set_tooltip_text(_("Please install python3-libreport to enable bug reporting."))
-             vbox.add(report_button)
- 
-         vbox.set_sensitive(highlight)
--- 
-2.52.0
-

diff --git a/setroubleshoot.spec b/setroubleshoot.spec
index f9028e1..a0492e8 100644
--- a/setroubleshoot.spec
+++ b/setroubleshoot.spec
@@ -5,16 +5,15 @@
 
 Summary: Helps troubleshoot SELinux problems
 Name: setroubleshoot
-Version: 3.3.36
-Release: 4%{?dist}
+Version: 3.3.37
+Release: 1%{?dist}
 License: GPL-2.0-or-later
 URL: https://gitlab.com/setroubleshoot/setroubleshoot
-Source0: https://gitlab.com/-/project/24478376/uploads/51a9cda747130f92860720841a7fd9c9/setroubleshoot-3.3.36.tar.gz
+Source0: https://gitlab.com/-/project/24478376/uploads/cbdfc2a87b350583c32b168fd9aad9fd/setroubleshoot-3.3.37.tar.gz
 Source1: %{name}.tmpfiles
 Source2: %{name}.sysusers
-# git format-patch -N 3.3.36
+# git format-patch -N 3.3.37
 # for j in 00*patch; do printf "Patch: %s\n" $j; done
-Patch: 0001-browser-Always-show-Report-Bug-button.patch
 BuildRequires: gcc
 BuildRequires: make
 BuildRequires: libcap-ng-devel
@@ -96,7 +95,7 @@ install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysusersdir}/%{name}.conf
 %package server
 Summary: SELinux troubleshoot server
 
-Requires: %{name}-plugins >= 3.3.10
+Requires: %{name}-plugins >= 3.3.15-7
 Requires: audit >= 3.0.1
 Requires: audit-libs-python3
 Requires: libxml2-python3
@@ -194,6 +193,11 @@ to user preference. The same tools can be run on existing log files.
 %doc AUTHORS COPYING ChangeLog DBUS.md NEWS README TODO
 
 %changelog
+* Thu Jun 18 2026 Vit Mojzis <vmojzis@redhat.com> - 3.3.37-1
+- Migrate from libxml2 to xml.etree.ElementTree
+- Handle ImportError when setroubleshoot.browser is not available
+- Add support for multiple commands in fix_cmd
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 3.3.36-4
 - Rebuilt for Python 3.15
 

diff --git a/sources b/sources
index e88edea..6718e7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (setroubleshoot-3.3.36.tar.gz) = 089583970169d4127cf825d8660dc755cb154771b8e48f6b7558f8fa090491ad6ac492f435a8f410c73c46ab1500a203f4123fcda69b1cd7adbf792b5580cb83
+SHA512 (setroubleshoot-3.3.37.tar.gz) = 8b67b28c2e2d2f766c00723f2a67e82fc43079a9a5868c4598f80331bb12ae0e94749cd68fedc718462ae9203e5b9d363033902c699f597a79865d6d31df61cd

                 reply	other threads:[~2026-06-18 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178179379227.1.17363565119776647996.rpms-setroubleshoot-081fabe6be6e@fedoraproject.org \
    --to=vmojzis@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox