diff --git a/libtpms.changes b/libtpms.changes index 54534e1..7aeae38 100644 --- a/libtpms.changes +++ b/libtpms.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 25 10:04:05 UTC 2022 - pgajdos@suse.com + +- fix build for ppc64le: use -Wl,--no-as-needed in check-local + [bsc#1204556] + ------------------------------------------------------------------- Sun Apr 10 12:43:58 UTC 2022 - Dirk Müller diff --git a/libtpms.spec b/libtpms.spec index 4b5c77e..592b08f 100644 --- a/libtpms.spec +++ b/libtpms.spec @@ -74,6 +74,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %fdupes -s %{buildroot} %check +# fix check-local +# https://bugzilla.suse.com/show_bug.cgi?id=1204556#c9 +sed -i "s@\(-L\./\.libs\)@\1 -Wl,--no-as-needed@" src/Makefile %make_build check %post -n %{lname} -p /sbin/ldconfig