+++ /dev/null
---- setools/setup.py~ 2019-06-15 21:32:13.000000000 +0200
-+++ setools/setup.py 2019-11-03 14:14:26.909825841 +0100
-@@ -105,7 +105,7 @@
- libraries=['selinux', 'sepol'],
- library_dirs=lib_dirs,
- define_macros=macros,
-- extra_compile_args=['-Werror', '-Wextra',
-+ extra_compile_args=['-Wextra',
- '-Waggregate-return',
- '-Wfloat-equal',
- '-Wformat', '-Wformat=2',
Summary: Policy analysis tools for SELinux
Summary(pl.UTF-8): Narzędzia do analizy polityk SELinuksa
Name: setools
-Version: 4.3.0
-Release: 7
+Version: 4.4.4
+Release: 1
License: GPL v2+ (tools), LGPL v2.1+ (libraries)
Group: Applications/System
Source0: https://github.com/SELinuxProject/setools/releases/download/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: ba6e5ec442108eef481e3a3fbb25141d
-Patch0: no-Werror.patch
+# Source0-md5: ec0ba9630dd6800dc4313fe0e5357253
URL: https://github.com/SELinuxProject/setools/wiki
BuildRequires: bison
BuildRequires: flex
%prep
%setup -q -n %{name}
-%patch0 -p1
%build
export SEPOL=%{_libdir}/libsepol.a
%files gui
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/apol
+%attr(755,root,root) %{_bindir}/sechecker
%{_mandir}/man1/apol.1*
+%{_mandir}/man1/sechecker.1*
%files -n python3-setools
%defattr(644,root,root,755)
%{py3_sitedir}/setools/diff
%attr(755,root,root) %{py3_sitedir}/setools/policyrep.cpython-*.so
%{py3_sitedir}/setools/*.py
+%{py3_sitedir}/setools/checker
%{py3_sitedir}/setools/perm_map
+%{py3_sitedir}/setools/policyrep.pyi
+%{py3_sitedir}/setools/py.typed
%{py3_sitedir}/setools/__pycache__
%{py3_sitedir}/setools-%{version}-py*.egg-info