代码拉取完成,页面将自动刷新
Name: setools
Version: 4.6.0
Release: 2
Summary: Policy Analysis Tools for SELinux
License: GPL-2.0-only AND LGPL-2.1-only
URL: https://github.com/SELinuxProject/setools/wiki
Source0: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz
Source1: setools.pam
Source2: apol.desktop
BuildRequires: flex bison glibc-devel gcc swig git python3-setuptools
BuildRequires: qt5-qtbase-devel python3-devel
BuildRequires: libsepol-devel >= 3.2 libsepol-static >= 3.2 libselinux-devel
BuildRequires: python3-Cython
BuildRequires: python3-setuptools python3-networkx checkpolicy
Obsoletes: setools < %{version}, setools-devel < %{version}
Patch1000: Fix-seinfo-argument-parsing-when-policy-path-follows-query-options.patch
Patch1001: Fix-debug-message-for-listing-potential-policies-to-load.patch
%description
SETools consists of a number of SELinux policy analysis tools, both graphical
and command line.
%package console
Summary: Console packages for setools
License: GPL-2.0-only
Requires: python3-setools = %{version}-%{release} libselinux >= 3.2
%description console
Console packages for setools.
%package console-analyses
Summary: Analyses files for setools-console
License: GPL-2.0-only
Requires: python3-setools = %{version}-%{release}
Requires: libselinux >= 3.2
Requires: python3-networkx
%description console-analyses
Analyses files for setools-console.
%package -n python3-setools
Summary: Python3 package for setools
Requires: python3-setuptools
Provides: setools-python3 = %{version}-%{release}
Obsoletes: setools-libs < 4.0.0
Obsoletes: setools-python3 < %{version}-%{release}
Obsoletes: setools < %{version}-%{release}
Recommends: libselinux-python3
%{?python_provide:%python_provide python3-setools}
%description -n python3-setools
Python3 package for setools.
%package gui
Summary: Gui packages for setools
Requires: python3-setools = %{version}-%{release}
Requires: python3-qt5
Requires: python3-networkx
%description gui
Gui packages for setools.
%package_help
%prep
%autosetup -n setools-%{version} -p1
%build
%py3_build
%install
%py3_install
%files
%files console
%{_bindir}/sechecker
%{_bindir}/sediff
%{_bindir}/seinfo
%{_bindir}/sesearch
%files console-analyses
%{_bindir}/sedta
%{_bindir}/seinfoflow
%files -n python3-setools
%license COPYING COPYING.GPL COPYING.LGPL
%{python3_sitearch}/setools
%{python3_sitearch}/setools-%{version}-*
%files gui
%{_bindir}/apol
%{python3_sitearch}/setoolsgui
%files help
%{_mandir}/man1/*
%lang(ru) %{_mandir}/ru/man1/*
%changelog
* Tue Nov 11 2025 liuzhilin <liuzhilin@kylinos.cn> - 4.6.0-2
- Fix seinfo argument parsing when policy path follows query options
- Fix debug message for listing potential policies to load
* Thu Oct 16 2025 jinlun <jinlun@huawei.com> - 4.6.0-1
- update setools to 4.6.0
* Mon Jun 30 2025 Funda Wang <fundawang@yeah.net> - 4.5.1-2
- disable test as what fedora does
* Mon Jul 15 2024 dillon chen <dillon.chen@gmail.com> - 4.5.1-1
- update setools to 4.5.1
* Thu Jul 11 2024 warlcok <hunan@kylinos.cn> - 4.5.0-1
- update setools to 4.5.0
* Wed Aug 16 2023 dillon chen <dillon.chen@gmail.com> - 4.4.3-1
- update setools to 4.4.3
* Fri Aug 04 2023 jinlun <jinlun@huawei.com> - 4.4.2-2
- fix in the test phase error
* Thu Jul 20 2023 jinlun <jinlun@huawei.com> - 4.4.2-1
- update setools to 4.4.2
* Thu Feb 16 2023 jinlun <jinlun@huawei.com> - 4.4.0-3
- add code check
* Tue Aug 2 2022 xuwenlong <xuwenlong16@huawei.com> - 4.4.0-2
- change release for rebulid
* Sat Jan 22 2022 panxiaohe <panxiaohe@huawei.com> - 4.4.0-1
- update setools to 4.4.0
- add requires python3-networkx and python3-qt5 for subpackages
* Tue Mar 23 2021 panxiaohe <panxiaohe@huawei.com> - 4.3.0-5
- add debuginfo package and make ELF files stripped
* Tue Dec 1 2020 Liquor <lirui130@huawei.com> - 4.3.0-4
- add the necessary version dependencies
* Tue Aug 11 2020 linwei <linwei54@huawei.com> - 4.3.0-3
- remove requires python3-network
* Thu Aug 6 2020 Liquor <lirui130@huawei.com> - 4.3.0-2
- remove requires python3-networkx
* Thu Jul 30 2020 linwei <linwei54@huawei.com> - 4.3.0-1
- update setools to 4.3.0
* Fri Mar 13 2020 zhangrui <zhangrui182@huawei.com> - 4.1.1-17
- obsolete setools
* Fri Mar 6 2020 songnannan <songnannan2@huaiwei.com> - 4.1.1-16
- remove the unnecessary requires
* Wed Oct 30 2019 yanan <yanan@huawei.com> - 4.1.1-15
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add global marco of debug_package
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.1.1-14
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。