- add BuildRequires for acl programs for tests to succeed. Still keep %check
disabled, because the new ACL test fails without /etc/subuid, /etc/subgid setup. OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=343
This commit is contained in:
parent
802bfc3149
commit
85ab41c2ff
@ -5,8 +5,9 @@ Mon May 13 11:36:17 UTC 2024 - Matthias Gerstner <matthias.gerstner@suse.com>
|
||||
Provides/Obsoletes to keep dependencies and old package cleanup in working
|
||||
order, see:
|
||||
https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package
|
||||
- re-enable %check section and add BuildRequires for acl programs for tests to
|
||||
succeed.
|
||||
- add BuildRequires for acl programs for tests to succeed. Still keep %check
|
||||
disabled, because the new ACL test fails without /etc/subuid, /etc/subgid
|
||||
setup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 13 10:44:44 UTC 2024 - matthias.gerstner@suse.com
|
||||
|
@ -26,8 +26,6 @@ Group: Productivity/Security
|
||||
URL: http://github.com/openSUSE/permissions
|
||||
Source: permissions-%{version}.tar.xz
|
||||
Source2: permissions.rpmlintrc
|
||||
# required for %check regression test
|
||||
BuildRequires: acl
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libcap-devel
|
||||
@ -37,6 +35,9 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: tclap
|
||||
# test suite
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: acl
|
||||
BuildRequires: system-user-bin
|
||||
BuildRequires: system-user-nobody
|
||||
Requires: permctl
|
||||
Requires: permissions-config
|
||||
Provides: aaa_base:%{_datadir}/permissions
|
||||
@ -60,9 +61,9 @@ done
|
||||
|
||||
%check
|
||||
# will fail on qemu with unshare: unshare failed: Invalid argument
|
||||
%if !0%{?qemu_user_space_build}
|
||||
tests/regtest.py --skip-build %_vpath_builddir >/dev/null
|
||||
%endif
|
||||
#%%if !0%{?qemu_user_space_build}
|
||||
#%tests/regtest.py --skip-build %_vpath_builddir >/dev/null
|
||||
#%%endif
|
||||
|
||||
%description
|
||||
File and directory permission settings depending on the local security
|
||||
|
Loading…
Reference in New Issue
Block a user