update code

This commit is contained in:
zhuchunyi 2019-11-06 19:39:49 +08:00
parent afc19a3c3a
commit 8a2b407003

View File

@ -1,6 +1,6 @@
Name: libseccomp
Version: 2.4.1
Release: 2
Release: 3
Summary: Interface to the syscall filtering mechanism
License: LGPLv2
URL: https://github.com/seccomp/libseccomp
@ -25,13 +25,7 @@ Obsoletes: %{name}-static <= %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package help
Summary: Doc files for %{name}
Buildarch: noarch
Requires: man
%description help
The %{name}-help package contains doc files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -S git
@ -42,7 +36,7 @@ The %{name}-help package contains doc files for %{name}.
%install
%make_install
rm -f %{buildroot}/%{_libdir}/%{name}.la
%delete_la
%check
make check
@ -63,7 +57,8 @@ make check
%files devel
%{_bindir}/scmp_sys_resolver
%{_includedir}/seccomp.h
%{_libdir}/%{name}*
%{_libdir}/%{name}.a
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%files help
@ -71,6 +66,12 @@ make check
%{_mandir}/man*/*
%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
- Type: enhancement
- ID: NA