Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
85d6de3af1
!35 [sync] PR-32: add BuildRequires: python3-setuptools python3-wheel
From: @openeuler-sync-bot 
Reviewed-by: @HuaxinLuGitee, @zhujianwei001 
Signed-off-by: @HuaxinLuGitee, @zhujianwei001
2025-04-07 01:47:17 +00:00
xuce
ca28500564 add BuildRequires: python3-setuptools and python3-wheel
Signed-off-by: xuce <xuce10@h-partners.com>
(cherry picked from commit 6c0c2a4185b6844c1f530113da03ddbe67b4d58c)
2025-04-02 17:12:45 +08:00
openeuler-ci-bot
a212abe8e7
!27 update version to 3.3.32
From: @zgzxx 
Reviewed-by: @HuaxinLuGitee, @huangzq6 
Signed-off-by: @HuaxinLuGitee, @huangzq6
2023-07-21 03:08:46 +00:00
zgzxx
97191f11ad update version to 3.3.32 2023-07-20 19:04:57 +08:00
openeuler-ci-bot
5f91ae733c
!23 update version to 3.3.26
From: @yunjia_w 
Reviewed-by: @HuaxinLuGitee, @huangzq6 
Signed-off-by: @huangzq6
2023-02-02 06:21:40 +00:00
yunjia_w
c7659ebbbe update version to 3.3.26
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2023-02-02 11:19:28 +08:00
openeuler-ci-bot
a65e4c8ae4
!22 backport patches from upstream
From: @godvi 
Reviewed-by: @HuaxinLuGitee, @huangzq6 
Signed-off-by: @HuaxinLuGitee, @huangzq6
2022-11-23 06:29:33 +00:00
shenxiangwei
c61145666d Fix the dependency on the formatter class of python-3.10. 2022-11-17 16:42:31 +08:00
openeuler-ci-bot
26fe8d639d !15 master: fixes the problem when setroubleshoot is installed, or updated
Merge pull request !15 from Hugel/main
2021-12-27 08:40:35 +00:00
Hugel
53f6be6a10 Fix the problem when setroubleshoot is installed, or updated 2021-12-27 10:34:56 +08:00
4 changed files with 33 additions and 8863 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -1,23 +1,21 @@
Name: setroubleshoot
Version: 3.3.24
Release: 3
Version: 3.3.32
Release: 2
Summary: SELinux Trouble Shooting Tool
License: GPLv2+
URL: https://pagure.io/setroubleshoot
URL: https://gitlab.com/setroubleshoot/setroubleshoot
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
Source0: https://gitlab.com/setroubleshoot/setroubleshoot/-/archive/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.tmpfiles
Patch1: backport-0001-framework-Update-translations.patch
Patch9000: Fix-config-file-to-deny-noraml-user-to-stop-Setroubleshootd.patch
BuildRequires: gcc libcap-ng-devel intltool gettext python3 python3-devel
BuildRequires: gcc libcap-ng-devel intltool gettext python3 python3-devel python3-setuptools python3-wheel
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel xdg-utils
BuildRequires: python3-libselinux python3-dasbus python3-gobject gtk3-devel xdg-utils python3-pip
Requires: %{name}-server = %{version}-%{release}
Requires: gtk3, libnotify libreport python3-libreport python3-gobject python3-pydbus xdg-utils
Requires: gtk3, libnotify libreport python3-libreport python3-gobject python3-dasbus xdg-utils
Requires(post): desktop-file-utils
Requires(post): dbus
Requires(postun): desktop-file-utils
@ -41,7 +39,7 @@ BuildRequires: python3-devel
Requires: python3-slip python3-systemd
Requires: python3-gobject >= 3.11
Requires: dbus
Requires: python3-dbus python3-pydbus
Requires: python3-dbus python3-dasbus
Requires: polkit
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd
@ -66,6 +64,7 @@ SELinux troubleshoot legacy applet
%autosetup -n %{name}-%{version} -p1
%build
./autogen.sh
%global _python_bytecompile_extra 0
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes --with-auditpluginsdir=/etc/audit/plugins.d
%make_build V=1
@ -84,19 +83,20 @@ install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
%post
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
%systemd_post auditd.service
/sbin/service auditd reload >/dev/null 2>&1 || :
%postun
%systemd_postun_with_restart auditd.service
/sbin/service auditd reload >/dev/null 2>&1 || :
%pre server
getent passwd setroubleshoot >/dev/null || useradd -r -U -s /sbin/nologin -d %{_localstatedir}/lib/%{name} setroubleshoot
%post server
%systemd_post auditd.service
/sbin/service auditd reload >/dev/null 2>&1 || :
%postun server
%systemd_postun_with_restart auditd.service
/sbin/service auditd reload >/dev/null 2>&1 || :
%triggerun server -- %{name}-server < 3.2.24-4
chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
@ -106,8 +106,8 @@ chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
%config(noreplace) %{_sysconfdir}/xdg/autostart/*
%{_datadir}/%{name}/gui
%{_datadir}/applications/*.desktop
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/dbus-1/services/sealert.service
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/dbus-1/services/org.fedoraproject.sealert.service
%{_datadir}/icons/hicolor/*/*/*
%dir %attr(0755,root,root) %{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}/browser.py
@ -119,7 +119,7 @@ chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
%{_bindir}/sealert
%{_sbindir}/sedispatch
%{_sbindir}/setroubleshootd
%{python3_sitelib}/setroubleshoot*.egg-info
%{python3_sitelib}/setroubleshoot*.dist-info
%dir %attr(0755,root,root) %{_sysconfdir}/%{name}
%dir %{python3_sitelib}/%{name}
%dir %{python3_sitelib}/%{name}/__pycache__
@ -139,6 +139,7 @@ chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
%ghost %attr(0600,setroubleshoot,setroubleshoot) %{_localstatedir}/lib/%{name}/setroubleshoot_database.xml
%ghost %attr(0644,setroubleshoot,setroubleshoot) %{_localstatedir}/lib/%{name}/email_alert_recipients
%config /etc/audit/plugins.d/sedispatch.conf
%{_unitdir}/setroubleshootd.service
%{_datadir}/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootPrivileged.service
%{_datadir}/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy
@ -159,6 +160,21 @@ chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
%{_mandir}/man1/seapplet.1.gz
%changelog
* Wed Dec 4 2024 xuce <xuce10@h-partners.com> - 3.3.32-2
- add BuildRequires: python3-setuptools and python3-wheel
* Thu Jul 20 2023 zhangguangzhi <zhangguangzhi3@huawei.com> - 3.3.32-1
- update version to 3.3.32
* Mon Jan 30 2023 wangyunjia <yunjia.wang@huawei.com> - 3.3.26-1
- update version to 3.3.26
* Thu Nov 17 2022 shenxiangwei <shenxiangwei1@huawei.com> - 3.3.24-5
- Fix the dependency on the formatter class of python-3.10.
* Mon Dec 27 2021 Hugel <gengqihu1@huawei.com> - 3.3.24-4
- Fix the problem when setroubleshoot is installed, or updated.
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.3.24-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git