address and suppress some rpmlint warnings

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=313
This commit is contained in:
Matthias Gerstner 2022-12-20 10:43:28 +00:00 committed by Git OBS Bridge
parent 8237e54dc6
commit 1a72d7beea
2 changed files with 9 additions and 3 deletions

5
permissions.rpmlintrc Normal file
View File

@ -0,0 +1,5 @@
# the base package needs to have Arch, otherwise we get no -source and
# -debuginfo package (which we need for the chkstat sub package)
addFilter("no-binary")
# it's hard not to repeat "permissions" in the summary
addFilter("name-repeated-in-summary")

View File

@ -54,9 +54,9 @@ tests/regtest.py --skip-make > /dev/null
%endif
%description
Permission settings of files and directories depending on the local
security settings. The local security setting ("easy", "secure", or "paranoid")
can be configured in /etc/sysconfig/security.
File and directory permission settings depending on the local security
settings. The local security setting ("easy", "secure", or "paranoid") can be
configured in /etc/sysconfig/security.
This package does not contain files, it just requires the necessary packages.
@ -70,6 +70,7 @@ Requires(post): chkstat
#!BuildIgnore: group(trusted)
Requires(pre): group(trusted)
Obsoletes: permissions-doc <= %{suse_version}_%{VERSION_DATE}
BuildArch: noarch
%description config
The actual permissions configuration files, /usr/share/permissions/permission.*.