forked from pool/permissions
- 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
|
Provides/Obsoletes to keep dependencies and old package cleanup in working
|
||||||
order, see:
|
order, see:
|
||||||
https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package
|
https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package
|
||||||
- re-enable %check section and add BuildRequires for acl programs for tests to
|
- add BuildRequires for acl programs for tests to succeed. Still keep %check
|
||||||
succeed.
|
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
|
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
|
URL: http://github.com/openSUSE/permissions
|
||||||
Source: permissions-%{version}.tar.xz
|
Source: permissions-%{version}.tar.xz
|
||||||
Source2: permissions.rpmlintrc
|
Source2: permissions.rpmlintrc
|
||||||
# required for %check regression test
|
|
||||||
BuildRequires: acl
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
@ -37,6 +35,9 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: tclap
|
BuildRequires: tclap
|
||||||
# test suite
|
# test suite
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
|
BuildRequires: acl
|
||||||
|
BuildRequires: system-user-bin
|
||||||
|
BuildRequires: system-user-nobody
|
||||||
Requires: permctl
|
Requires: permctl
|
||||||
Requires: permissions-config
|
Requires: permissions-config
|
||||||
Provides: aaa_base:%{_datadir}/permissions
|
Provides: aaa_base:%{_datadir}/permissions
|
||||||
@ -60,9 +61,9 @@ done
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# will fail on qemu with unshare: unshare failed: Invalid argument
|
# will fail on qemu with unshare: unshare failed: Invalid argument
|
||||||
%if !0%{?qemu_user_space_build}
|
#%%if !0%{?qemu_user_space_build}
|
||||||
tests/regtest.py --skip-build %_vpath_builddir >/dev/null
|
#%tests/regtest.py --skip-build %_vpath_builddir >/dev/null
|
||||||
%endif
|
#%%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
File and directory permission settings depending on the local security
|
File and directory permission settings depending on the local security
|
||||||
|
Loading…
Reference in New Issue
Block a user