From 3e5050f055efad342d2e7bd988d263227de19cf017c449e2dcb300ce482bdeb4 Mon Sep 17 00:00:00 2001 From: David Anes Date: Mon, 23 May 2022 13:56:17 +0000 Subject: [PATCH] Accepting request 978666 from home:Andreas_Schwab:Factory - Fix dependencies - Fix file list OBS-URL: https://build.opensuse.org/request/show/978666 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libunwind?expand=0&rev=60 --- libunwind.changes | 6 ++++++ libunwind.spec | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/libunwind.changes b/libunwind.changes index ccd74f6..9988875 100644 --- a/libunwind.changes +++ b/libunwind.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 23 07:40:56 UTC 2022 - Andreas Schwab + +- Fix dependencies +- Fix file list + ------------------------------------------------------------------- Wed May 18 07:52:13 UTC 2022 - Jan Engelhardt diff --git a/libunwind.spec b/libunwind.spec index 7761fec..490a0e1 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -77,7 +77,9 @@ system routines, at the cost of a much slower longjmp. %package devel Summary: Headers for the Unwind library Group: Development/Libraries/C and C++ +%ifnarch ppc ppc64 ppc64le s390x Requires: libunwind-coredump0 = %{version}-%{release} +%endif Requires: libunwind-ptrace0 = %{version}-%{release} Requires: libunwind-setjmp0 = %{version}-%{release} Requires: libunwind8 = %{version}-%{release} @@ -125,7 +127,10 @@ find %{buildroot}/%{_libdir} -type f | sort %ifarch %ix86 %{_libdir}/libunwind-x86.so.8* %else -%ifarch ppc ppc64 ppc64le +%ifarch ppc +%{_libdir}/libunwind-ppc32.so.8* +%else +%ifarch ppc64 ppc64le %{_libdir}/libunwind-ppc64.so.8* %else %{_libdir}/libunwind-%{_target_cpu}.so.8* @@ -133,8 +138,9 @@ find %{buildroot}/%{_libdir} -type f | sort %endif %endif %endif +%endif -%ifnarch ppc64 ppc64le s390x +%ifnarch ppc ppc64 ppc64le s390x %files -n libunwind-coredump0 %{_libdir}/libunwind-coredump.so.0* %endif