Accepting request 1143436 from devel:openSUSE:Factory:rpmlint

OBS-URL: https://build.opensuse.org/request/show/1143436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=122
This commit is contained in:
Ana Guerrero 2024-02-02 14:45:05 +00:00 committed by Git OBS Bridge
commit 62f25f735b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 1 12:02:45 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Don't include copy of libm
-------------------------------------------------------------------
Fri Oct 13 12:02:34 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package rpmlint-mini
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -108,8 +108,8 @@ done
popd
ldd %{python_sitearch}/rpm/*.so | while read L T R A
do
# skip libc, it must match the system ld.so (which we cannot replace)
case $L in libc.*) continue;; esac
# skip libc/libm, they must match the system ld.so (which we cannot replace)
case $L in lib[cm].*) continue;; esac
cp '-aLt%{buildroot}/opt/testing/lib' "${R}" || # is it a virtual library?
! <"${R}" || # it is a real library and still could not be copied
false # this is necessary to really fail