diff --git a/libseccomp.spec b/libseccomp.spec index eaf092f..2719bee 100644 --- a/libseccomp.spec +++ b/libseccomp.spec @@ -1,6 +1,6 @@ Name: libseccomp Version: 2.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced seccomp library License: LGPLv2 URL: https://github.com/seccomp/libseccomp @@ -93,7 +93,8 @@ rm -f tests/36-sim-ipc_syscalls.tests tests/37-sim-ipc_syscalls_be.tests %{_libdir}/libseccomp.a %changelog -* Fri Nov 05 2021 Zoltan Fridrich - 2.5.2-1 +* Fri Nov 05 2021 Zoltan Fridrich - 2.5.2-2 +- fix devel-usability test - rebase to 2.5.2 resolves: rhbz#2019887 diff --git a/tests/devel-usability/runtest.sh b/tests/devel-usability/runtest.sh index 831b2a1..e5b27a5 100755 --- a/tests/devel-usability/runtest.sh +++ b/tests/devel-usability/runtest.sh @@ -6,7 +6,7 @@ TEST_SOURCE=test.c TEST_TARGET="${TEST_SOURCE/\.c/}" CXXFLAGS="$(rpm --eval '%{build_cxxflags}')" -LDFLAGS="$(rpm --eval '%{build_ldflags}')" +LDFLAGS="$(rpm --eval '%{build_ldflags}') -Wl,--no-as-needed" PKGFLAGS="$(pkg-config libseccomp --cflags --libs)" # build target using distribution-specific flags