Accepting request 878583 from security:SELinux
big toolchain update, please stage together. so versions change, so this has high potential to break stuff. Probably best to stage it isolated OBS-URL: https://build.opensuse.org/request/show/878583 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=38
This commit is contained in:
commit
77c43bd6d5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:315df3ae0eb29b399123c5e3330480c5d1c0da038671c9fd62a439c49a6f9105
|
||||
size 249694
|
3
setools-4.4.0.tar.bz2
Normal file
3
setools-4.4.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f3786677e40b7f16a226f48f233dcf835e700739614a7dbed2ff61cc9607814e
|
||||
size 275218
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 9 09:24:10 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Update to the version 4.4.0:
|
||||
* Added support for old Boolean name substitution in seinfo and sesearch.
|
||||
* Added sechecker tool which is a configuration file driven analysis tool.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 17:56:44 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
26
setools.spec
26
setools.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package setools
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,25 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# As soon as python38 is introduced as flavor, we need this:
|
||||
%{?!python3_primary_provider:%define python3_primary_provider %{lua: \
|
||||
l,c = posix.readlink("/usr/bin/python3") \
|
||||
flavor = l:gsub("%.", ""):sub(0,-1) \
|
||||
print(rpm.expand("%{?" .. flavor .. "_prefix}%{!?" .. flavor .. "_prefix:python3}")) \
|
||||
}}
|
||||
|
||||
# doesn't work for python 2
|
||||
%define skip_python2 1
|
||||
# Skip every flavor except for the primary_provider
|
||||
%define pythons %python3_primary_provider
|
||||
|
||||
Name: setools
|
||||
Version: 4.3.0
|
||||
Version: 4.4.0
|
||||
Release: 0
|
||||
URL: https://github.com/SELinuxProject/setools
|
||||
Summary: Policy analysis tools for SELinux
|
||||
License: GPL-2.0-only
|
||||
Group: System/Management
|
||||
Source: https://github.com/SELinuxProject/setools/releases/download/%{version}/setools-%{version}.tar.bz2
|
||||
Source: https://github.com/SELinuxProject/setools/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
@ -107,16 +105,16 @@ This package includes the following graphical tools:
|
||||
%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
%{expand:%%%{python3_primary_provider}_build}
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%{expand:%%%{python3_primary_provider}_install}
|
||||
%fdupes -s %{buildroot}%{expand:%%%{python3_primary_provider}_sitearch}
|
||||
%python_install
|
||||
%fdupes -s %{buildroot}%{python3_sitearch}
|
||||
|
||||
%files -n %{python3_primary_provider}-setools
|
||||
%defattr(-,root,root,-)
|
||||
%{expand:%%%{python3_primary_provider}_sitearch}/setools
|
||||
%{expand:%%%{python3_primary_provider}_sitearch}/setools-%{version}*-info
|
||||
%{python3_sitearch}/setools
|
||||
%{python3_sitearch}/setools-%{version}*-info
|
||||
|
||||
%files console
|
||||
%defattr(-,root,root,-)
|
||||
@ -125,6 +123,8 @@ This package includes the following graphical tools:
|
||||
%{_bindir}/sedta
|
||||
%{_bindir}/seinfoflow
|
||||
%{_bindir}/sediff
|
||||
%{_bindir}/sechecker
|
||||
%{_mandir}/man1/sechecker.1.gz
|
||||
%{_mandir}/man1/sedta.1.gz
|
||||
%{_mandir}/man1/seinfoflow.1.gz
|
||||
%{_mandir}/man1/sediff.1.gz
|
||||
@ -139,7 +139,7 @@ This package includes the following graphical tools:
|
||||
|
||||
%files gui
|
||||
%defattr(-,root,root,-)
|
||||
%{expand:%%%{python3_primary_provider}_sitearch}/setoolsgui
|
||||
%{python3_sitearch}/setoolsgui
|
||||
%{_bindir}/apol
|
||||
%{_mandir}/man1/apol.1.gz
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user