Accepting request 1062937 from devel:openSUSE:Factory:rpmlint
OBS-URL: https://build.opensuse.org/request/show/1062937 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=116
This commit is contained in:
commit
7dc5429e04
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 2 14:50:24 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Don't include copy of libc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 07:27:17 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rpmlint-mini
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -101,7 +101,10 @@ for file in $(cat %{SOURCE1}); do
|
||||
done
|
||||
popd
|
||||
ldd %{python_sitearch}/rpm/*.so | while read L T R A
|
||||
do cp '-aLt%{buildroot}/opt/testing/lib' "${R}" || # is it a virtual library?
|
||||
do
|
||||
# skip libc, it must match the system ld.so (which we cannot replace)
|
||||
case $L in libc.*) 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
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user