From 10ab74f320f56b3c71427ddd11306c5f82c5e6e5 Mon Sep 17 00:00:00 2001 From: zgzxx Date: Sat, 4 Mar 2023 11:15:59 +0800 Subject: [PATCH] add make test --- libcap.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libcap.spec b/libcap.spec index b461182..f0c9589 100644 --- a/libcap.spec +++ b/libcap.spec @@ -1,6 +1,6 @@ Name: libcap Version: 2.32 -Release: 5 +Release: 6 Summary: A library for getting and setting POSIX.1e draft 15 capabilities License: GPLv2 URL: https://sites.google.com/site/fullycapable @@ -40,9 +40,12 @@ make prefix=%{_prefix} lib=%{_lib} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} \ make install RAISE_SETFCAP=no DESTDIR=%{buildroot} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} PKGCONFIGDIR=%{_libdir}/pkgconfig/ mkdir -p %{buildroot}/%{_mandir}/man{2,3,8} -mv -f doc/*.3 %{buildroot}/%{_mandir}/man3/ +cp -fp doc/*.3 %{buildroot}/%{_mandir}/man3/ chmod +x %{buildroot}/%{_libdir}/*.so.* +%check +make test + %pre %preun @@ -73,6 +76,9 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %{_mandir}/man8/*.gz %changelog +* Sat Mar 4 2023 zhangguangzhi - 2.32-6 +- add make test + * Thu Feb 16 2023 zhangguangzhi - 2.32-5 - backport patch backport getpcaps catch PID parsing errors -- Gitee