From 50d54f1208730f55330547841ab45b6dceb7d02b Mon Sep 17 00:00:00 2001 From: yueyuankun Date: Wed, 24 Aug 2022 11:25:09 +0800 Subject: [PATCH] Fix "man lsof" content error --- lsof.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lsof.spec b/lsof.spec index 982942e..02f0edd 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,6 +1,6 @@ Name: lsof Version: 4.93.2 -Release: 5 +Release: 6 Summary: A tool for list open files License: zlib and Sendmail and LGPLv2+ URL: https://people.freebsd.org/~abe/ @@ -30,12 +30,13 @@ The %{name}-help package contains doc files for %{name}. %build ./Configure -n linux %make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc" +soelim -r Lsof.8 > lsof.1 %install mkdir -p %{buildroot}/%{_bindir} install -p -m 0755 lsof %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_mandir}/man1 -install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1 +install -p -m 0644 lsof.1 %{buildroot}/%{_mandir}/man1/lsof.1 %files %doc 00CREDITS @@ -46,6 +47,12 @@ install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1 %{_mandir}/man*/* %changelog +* Wed Aug 24 2022 yueyuankun - 4.93.2-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Fix "man lsof" content error + * Wed Feb 10 2020 chenjialong - 4.93.2-5 - Type:NA - ID:NA