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 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
@ -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