diff --git a/lsof.spec b/lsof.spec index b8dad3d790dc3069a13aedaad095feaf4373da78..bb7056092dce28e5497ec11307565b9e316036a3 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,6 +1,6 @@ Name: lsof Version: 4.93.2 -Release: 8 +Release: 9 Summary: A tool for list open files License: zlib and Sendmail and LGPLv2+ URL: https://people.freebsd.org/~abe/ @@ -39,6 +39,13 @@ install -p -m 0755 lsof %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_mandir}/man1 install -p -m 0644 lsof.1 %{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} @@ -48,6 +55,12 @@ install -p -m 0644 lsof.1 %{buildroot}/%{_mandir}/man1/lsof.1 %{_mandir}/man*/* %changelog +* Thu Feb 16 2023 hubin - 4.93.2-9 +- Type:testcode +- ID:NA +- SUG:NA +- DESC:enable make check + * Wed Nov 16 2022 dongyuzhen - 4.93.2-8 - Type:bugfix - ID:NA