Compare commits
No commits in common. "85d6de3af1d4e6e36ffc2b816df431bd18a5a1ee" and "196e610d2738bb632d9d987bbf4f33254bf643f4" have entirely different histories.
85d6de3af1
...
196e610d27
8846
backport-0001-framework-Update-translations.patch
Normal file
8846
backport-0001-framework-Update-translations.patch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
setroubleshoot-3.3.24.tar.gz
Normal file
BIN
setroubleshoot-3.3.24.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,21 +1,23 @@
|
||||
Name: setroubleshoot
|
||||
Version: 3.3.32
|
||||
Release: 2
|
||||
Version: 3.3.24
|
||||
Release: 3
|
||||
Summary: SELinux Trouble Shooting Tool
|
||||
License: GPLv2+
|
||||
URL: https://gitlab.com/setroubleshoot/setroubleshoot
|
||||
URL: https://pagure.io/setroubleshoot
|
||||
|
||||
Source0: https://gitlab.com/setroubleshoot/setroubleshoot/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source0: https://releases.pagure.org/setroubleshoot/%{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 python3-setuptools python3-wheel
|
||||
BuildRequires: gcc libcap-ng-devel intltool gettext python3 python3-devel
|
||||
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
|
||||
BuildRequires: python3-libselinux python3-dasbus python3-gobject gtk3-devel xdg-utils python3-pip
|
||||
BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel xdg-utils
|
||||
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: gtk3, libnotify libreport python3-libreport python3-gobject python3-dasbus xdg-utils
|
||||
Requires: gtk3, libnotify libreport python3-libreport python3-gobject python3-pydbus xdg-utils
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(post): dbus
|
||||
Requires(postun): desktop-file-utils
|
||||
@ -39,7 +41,7 @@ BuildRequires: python3-devel
|
||||
Requires: python3-slip python3-systemd
|
||||
Requires: python3-gobject >= 3.11
|
||||
Requires: dbus
|
||||
Requires: python3-dbus python3-dasbus
|
||||
Requires: python3-dbus python3-pydbus
|
||||
Requires: polkit
|
||||
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd
|
||||
|
||||
@ -64,7 +66,6 @@ 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
|
||||
@ -83,20 +84,19 @@ 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 || :
|
||||
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||
%systemd_post auditd.service
|
||||
|
||||
%postun
|
||||
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||
%systemd_postun_with_restart auditd.service
|
||||
|
||||
%pre server
|
||||
getent passwd setroubleshoot >/dev/null || useradd -r -U -s /sbin/nologin -d %{_localstatedir}/lib/%{name} setroubleshoot
|
||||
|
||||
%post server
|
||||
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||
%systemd_post auditd.service
|
||||
|
||||
%postun server
|
||||
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||
|
||||
%systemd_postun_with_restart auditd.service
|
||||
%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}/metainfo/*.appdata.xml
|
||||
%{_datadir}/dbus-1/services/org.fedoraproject.sealert.service
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_datadir}/dbus-1/services/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*.dist-info
|
||||
%{python3_sitelib}/setroubleshoot*.egg-info
|
||||
%dir %attr(0755,root,root) %{_sysconfdir}/%{name}
|
||||
%dir %{python3_sitelib}/%{name}
|
||||
%dir %{python3_sitelib}/%{name}/__pycache__
|
||||
@ -139,7 +139,6 @@ 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
|
||||
@ -160,21 +159,6 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user