mirror of
https://abf.rosa.ru/djam/libseccomp.git
synced 2025-02-23 17:52:48 +00:00
bump release
This commit is contained in:
parent
0085fd56e9
commit
f06f2477b1
1 changed files with 29 additions and 21 deletions
|
@ -1,11 +1,11 @@
|
|||
%define major 2
|
||||
%define libname %mklibname seccomp %{major}
|
||||
%define develname %mklibname -d seccomp
|
||||
%define devname %mklibname -d seccomp
|
||||
|
||||
Summary: Enhanced seccomp library
|
||||
Name: libseccomp
|
||||
Version: 2.4.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: LGPLv2
|
||||
Group: System/Libraries
|
||||
Url: https://github.com/seccomp/libseccomp
|
||||
|
@ -19,6 +19,8 @@ syscall filter language and present a more conventional function-call based
|
|||
filtering interface that should be familiar to, and easily adopted by,
|
||||
application developers.
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package utils
|
||||
Summary: scmp_sys_resolver - A tool to resolve system calls
|
||||
Group: System/Libraries
|
||||
|
@ -27,6 +29,12 @@ Group: System/Libraries
|
|||
The scmp_sys_resolver utility resolves both system call names and numbers
|
||||
with respect to the given architecture.
|
||||
|
||||
%files utils
|
||||
%{_bindir}/scmp_sys_resolver
|
||||
%{_mandir}/man1/scmp_sys_resolver.1.xz
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Collection library providing GObject-based interfaces and classes
|
||||
Group: System/Libraries
|
||||
|
@ -39,13 +47,18 @@ syscall filter language and present a more conventional function-call based
|
|||
filtering interface that should be familiar to, and easily adopted by,
|
||||
application developers.
|
||||
|
||||
%package -n %{develname}
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libseccomp.so.%{major}*
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
Summary: Development files used to build applications with libseccomp support
|
||||
Group: Development/C
|
||||
Requires: %{libname} = %{version}-%{release}
|
||||
Provides: seccomp-devel = %{version}-%{release}
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Provides: seccomp-devel = %{EVRD}
|
||||
|
||||
%description -n %{develname}
|
||||
%description -n %{devname}
|
||||
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
|
||||
|
@ -53,6 +66,16 @@ syscall filter language and present a more conventional function-call based
|
|||
filtering interface that should be familiar to, and easily adopted by,
|
||||
application developers.
|
||||
|
||||
%files -n %{devname}
|
||||
%doc LICENSE CREDITS README.md
|
||||
%{_includedir}/seccomp.h
|
||||
%{_includedir}/seccomp-syscalls.h
|
||||
%{_libdir}/libseccomp.so
|
||||
%{_libdir}/pkgconfig/libseccomp.pc
|
||||
%{_mandir}/man3/*
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%apply_patches
|
||||
|
@ -73,18 +96,3 @@ mkdir -p "%{buildroot}/%{_mandir}"
|
|||
make check
|
||||
|
||||
rm -vf "%{buildroot}/%{_libdir}/libseccomp.a"
|
||||
|
||||
%files utils
|
||||
%{_bindir}/scmp_sys_resolver
|
||||
%{_mandir}/man1/scmp_sys_resolver.1.xz
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libseccomp.so.%{major}*
|
||||
|
||||
%files -n %{develname}
|
||||
%doc LICENSE CREDITS README.md
|
||||
%{_includedir}/seccomp.h
|
||||
%{_includedir}/seccomp-syscalls.h
|
||||
%{_libdir}/libseccomp.so
|
||||
%{_libdir}/pkgconfig/libseccomp.pc
|
||||
%{_mandir}/man3/*
|
||||
|
|
Loading…
Add table
Reference in a new issue