# Generated by go2rpm %ifnarch ppc64le s390x %bcond_without check %endif # https://github.com/seccomp/libseccomp-golang %global goipath github.com/seccomp/libseccomp-golang Version: 0.10.0 %gometa %global common_description %{expand: The libseccomp library provides an easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by, application developers. The libseccomp-golang library provides a Go based interface to the libseccomp library.} %global golicenses LICENSE %global godocs CHANGELOG README Name: %{goname} Release: %autorelease Summary: Libseccomp Go bindings # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} %if %{with check} BuildRequires: pkgconfig(libseccomp) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog