diff --git a/permissions.changes b/permissions.changes index e951317..3b2c4c5 100644 --- a/permissions.changes +++ b/permissions.changes @@ -5,8 +5,9 @@ Mon May 13 11:36:17 UTC 2024 - Matthias Gerstner 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 diff --git a/permissions.spec b/permissions.spec index 437fa90..bf3a197 100644 --- a/permissions.spec +++ b/permissions.spec @@ -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