From 52b897aa1b82ca151b4537767ce60347f8d78170e2e2d5127432c892d64778d6 Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Thu, 1 Feb 2024 15:32:45 +0000 Subject: [PATCH] Accepting request 1143348 from home:Andreas_Schwab:Factory - Don't include copy of libm OBS-URL: https://build.opensuse.org/request/show/1143348 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=183 --- rpmlint-mini.changes | 5 +++++ rpmlint-mini.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/rpmlint-mini.changes b/rpmlint-mini.changes index b7d1764..4d19620 100644 --- a/rpmlint-mini.changes +++ b/rpmlint-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 1 12:02:45 UTC 2024 - Andreas Schwab + +- Don't include copy of libm + ------------------------------------------------------------------- Fri Oct 13 12:02:34 UTC 2023 - Ben Greiner diff --git a/rpmlint-mini.spec b/rpmlint-mini.spec index aada931..23a9a18 100644 --- a/rpmlint-mini.spec +++ b/rpmlint-mini.spec @@ -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