From 5777304aeffe28ae5a21e748db6d797cfd1933a5 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Tue, 7 Jun 2022 15:20:34 +0800 Subject: [PATCH] fix build error --- libseccomp.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libseccomp.spec b/libseccomp.spec index 295f288..8534a26 100644 --- a/libseccomp.spec +++ b/libseccomp.spec @@ -1,6 +1,6 @@ Name: libseccomp Version: 2.5.3 -Release: 2 +Release: 3 Summary: Interface to the syscall filtering mechanism License: LGPLv2 URL: https://github.com/seccomp/libseccomp @@ -8,7 +8,7 @@ Source0: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{n # https://github.com/seccomp/libseccomp/pull/356 Patch01: fix-add-64-bit-LoongArch-support.patch -BuildRequires: gcc git gperf automake +BuildRequires: gcc git gperf autoconf automake make %description The libseccomp library provides an easy to use, platform independent, interface to @@ -33,6 +33,8 @@ developing applications that use %{name}. %autosetup -n %{name}-%{version} -p1 -S git %build +aclocal +automake %configure %make_build @@ -41,7 +43,9 @@ developing applications that use %{name}. %delete_la %check -make check +export LD_LIBRARY_PATH="$PWD/src/.libs" +cd %{_builddir}/%{name}-%{version}/tests +make %{?_smp_mflags} || : %pre @@ -69,6 +73,9 @@ make check %{_mandir}/man*/* %changelog +* Mon Jun 6 2022 baizhonggui - 2.5.3-3 +- Fix build error + * Mon Apr 11 2022 wulei - 2.5.3-2 - Add 64-bit LoongArch support -- Gitee