import libseccomp-2.4.3-1.el8

This commit is contained in:
CentOS Sources 2020-07-28 03:40:24 -04:00 committed by Stepan Oksanichenko
parent 35728061b9
commit 24f444a463
3 changed files with 16 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libseccomp-2.4.1.tar.gz
SOURCES/libseccomp-2.4.3.tar.gz

View File

@ -1 +1 @@
bd9932c1f208b6051c89a4253dc05ad0307338ec SOURCES/libseccomp-2.4.1.tar.gz
477a66a6c5a32e585adaf90961994641de313247 SOURCES/libseccomp-2.4.3.tar.gz

View File

@ -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 <jvymazal@redhat.com> - 2.4.3-1
- rebase to upstream version 2.4.3
resolves: rhbz#1770693
resolves: rhbz#1768583
* Fri May 31 2019 Marek Tamaskovic <mtamasko@redhat.com> - 2.4.1-1
- rebase to 2.4.1