Accepting request 931775 from home:Andreas_Schwab:Factory

- glibc.rpmlintrc: Update for rpmlint2

OBS-URL: https://build.opensuse.org/request/show/931775
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=605
This commit is contained in:
Andreas Schwab 2021-11-16 14:09:48 +00:00 committed by Git OBS Bridge
parent 4d4a3834ee
commit 5b369144fa
2 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 10 13:39:26 UTC 2021 - Andreas Schwab <schwab@suse.de>
- glibc.rpmlintrc: Update for rpmlint2
-------------------------------------------------------------------
Tue Oct 5 10:58:00 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -1,23 +1,13 @@
# glibc-profile is a devel package
addFilter("glibc-profile.* devel-file-in-non-devel-package.*/usr/lib.*/lib.*_p.a")
addFilter("glibc-profile.* devel-file-in-non-devel-package.*/usr/lib.*/lib.*_p\.a")
# glibc is not a devel package
addFilter("glibc\\..* non-devel-file-in-devel-package")
addFilter("glibc\..* non-devel-file-in-devel-package")
# getent deliberately uses gethostbyname
addFilter("binary-or-shlib-calls-gethostbyname /usr/bin/getent")
# We do need to keep the symtab (see comments in glibc.spec), so this is intented:
addFilter("unstripped-binary-or-object")
# ld.so is special:
addFilter("shared-lib-without-dependency-information /lib.*/ld-2.*\\.so")
# Handled via glibc_post_upgrade:
addFilter("postin-without-ldconfig")
# We will not rename glibc to follow the shlib policy
addFilter("shlib-policy-missing-suffix")
# libpthread and libnsl call exit - this is fine
addFilter("shared-lib-calls-exit")
# The man-pages package contains a number of man pages for programs that come
# with glibc, therefore do not warn about them
addFilter("glibc.*no-manual-page-for-binary (getent|iconv|ldd|ldconfig|locale)")
addFilter("nscd.*no-manual-page-for-binary nscd")
addFilter("shared-library-without-dependency-information /usr/lib.*/ld.*\.so")
# the cross..-devel packages contain everything, in non-std paths, so no
# ldconfig is wanted or needed (for sle-15 based trees), and we accept
# the *.so symlinks, and deliver (target) binaries