diff --git a/lsof.spec b/lsof.spec index b77d6ec9292ad749965f4f43aa7c6ec9cfb8b22d..eb214e630f488f70bf3efa4a56a5dd528119dcba 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,6 +1,6 @@ Name: lsof Version: 4.93.2 -Release: 6 +Release: 7 Summary: A tool for list open files License: zlib and Sendmail and LGPLv2+ URL: https://people.freebsd.org/~abe/ @@ -37,6 +37,13 @@ install -p -m 0755 lsof %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_mandir}/man1 install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1 +%check +pushd tests +chmod u+w TestDB +./Add2TestDB +make test %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused" +popd + %files %doc 00CREDITS %{_bindir}/%{name} @@ -46,6 +53,12 @@ install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1 %{_mandir}/man*/* %changelog +* Thu Feb 16 2023 hubin - 4.93.2-7 +- Type:testcode +- ID:NA +- SUG:NA +- DESC:enable make check + * Tue Nov 15 2022 dongyuzhen - 4.93.2-6 - fix the date error in changelog