update code
This commit is contained in:
parent
afc19a3c3a
commit
8a2b407003
@ -1,6 +1,6 @@
|
|||||||
Name: libseccomp
|
Name: libseccomp
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Interface to the syscall filtering mechanism
|
Summary: Interface to the syscall filtering mechanism
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://github.com/seccomp/libseccomp
|
URL: https://github.com/seccomp/libseccomp
|
||||||
@ -10,7 +10,7 @@ BuildRequires: gcc git gdb
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
The libseccomp library provides an easy to use, platform independent, interface to
|
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
|
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
|
abstract away the underlying BPF based syscall filter language and present a more
|
||||||
conventional function-call based filtering interface that should be familiar to,
|
conventional function-call based filtering interface that should be familiar to,
|
||||||
and easily adopted by, application developers.
|
and easily adopted by, application developers.
|
||||||
@ -25,13 +25,7 @@ Obsoletes: %{name}-static <= %{version}-%{release}
|
|||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package help
|
%package_help
|
||||||
Summary: Doc files for %{name}
|
|
||||||
Buildarch: noarch
|
|
||||||
Requires: man
|
|
||||||
|
|
||||||
%description help
|
|
||||||
The %{name}-help package contains doc files for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -S git
|
%autosetup -n %{name}-%{version} -p1 -S git
|
||||||
@ -42,7 +36,7 @@ The %{name}-help package contains doc files for %{name}.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f %{buildroot}/%{_libdir}/%{name}.la
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -63,7 +57,8 @@ make check
|
|||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/scmp_sys_resolver
|
%{_bindir}/scmp_sys_resolver
|
||||||
%{_includedir}/seccomp.h
|
%{_includedir}/seccomp.h
|
||||||
%{_libdir}/%{name}*
|
%{_libdir}/%{name}.a
|
||||||
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -71,6 +66,12 @@ make check
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 11 2019 jiangchuangang <jiangchuangang@huawei.com> - 2.4.1-3
|
||||||
|
- Type: enhancement
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: remove so.* from devel
|
||||||
|
|
||||||
* Tue Sep 24 2019 luhuaxin <luhuaxin@huawei.com> - 2.4.1-2
|
* Tue Sep 24 2019 luhuaxin <luhuaxin@huawei.com> - 2.4.1-2
|
||||||
- Type: enhancement
|
- Type: enhancement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user