diff --git a/.gitignore b/.gitignore index 11852b4..634008d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libseccomp-2.4.1.tar.gz +SOURCES/libseccomp-2.4.3.tar.gz diff --git a/.libseccomp.metadata b/.libseccomp.metadata index f24ba90..dc09162 100644 --- a/.libseccomp.metadata +++ b/.libseccomp.metadata @@ -1 +1 @@ -bd9932c1f208b6051c89a4253dc05ad0307338ec SOURCES/libseccomp-2.4.1.tar.gz +477a66a6c5a32e585adaf90961994641de313247 SOURCES/libseccomp-2.4.3.tar.gz diff --git a/SPECS/libseccomp.spec b/SPECS/libseccomp.spec index 8726bc0..d45b1f9 100644 --- a/SPECS/libseccomp.spec +++ b/SPECS/libseccomp.spec @@ -2,7 +2,7 @@ Summary: Enhanced seccomp library Name: libseccomp -Version: 2.4.1 +Version: 2.4.3 Release: 1%{?dist} ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x License: LGPLv2 @@ -14,6 +14,12 @@ URL: https://github.com/seccomp/libseccomp # See https://bugzilla.redhat.com/show_bug.cgi?id=1466017 BuildRequires: valgrind >= 1:3.13.0-4 %endif +# Upstream tests are not suited to some architectures +%ifarch s390 || s390x || ppc64le +%global good_arch 0 +%else +%global good_arch 1 +%endif %description The libseccomp library provides an easy to use interface to the Linux Kernel's @@ -61,7 +67,7 @@ mkdir -p "%{buildroot}/%{_mandir}" make V=1 DESTDIR="%{buildroot}" install rm -f "%{buildroot}/%{_libdir}/libseccomp.la" -%if %{with check} +%if %{with check} && %{good_arch} %check make V=1 check %endif @@ -80,6 +86,7 @@ make V=1 check %files devel %{_includedir}/seccomp.h +%{_includedir}/seccomp-syscalls.h %{_libdir}/libseccomp.so %{_libdir}/pkgconfig/libseccomp.pc %{_bindir}/scmp_sys_resolver @@ -90,6 +97,11 @@ make V=1 check %{_libdir}/libseccomp.a %changelog +* Tue Apr 21 2020 Jiri Vymazal - 2.4.3-1 +- rebase to upstream version 2.4.3 + resolves: rhbz#1770693 + resolves: rhbz#1768583 + * Fri May 31 2019 Marek Tamaskovic - 2.4.1-1 - rebase to 2.4.1