update code

This commit is contained in:
zhuchunyi 2019-11-06 19:42:06 +08:00
parent 4224df7c26
commit e8be995c9d

View File

@ -1,6 +1,6 @@
Name: lsof
Version: 4.93.2
Release: 1
Release: 2
Summary: A tool for list open files
License: zlib and Sendmail and LGPLv2+
URL: https://people.freebsd.org/~abe/
@ -20,18 +20,17 @@ about files open to Unix processes. It runs on many Unix dialects.
%package help
Summary: Doc files for %{name}
BuildArch: noarch
Requires: man
%description help
The %{name}-help package contains doc files for %{name}.
%prep
ls
%autosetup -n %{name}-%{version} -p1 -S git
%build
./Configure -n linux
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
#%make_build DEBUG="-I/usr/include/tirpc" CFGL="-L./lib -llsof -lselinux -ltirpc"
%install
mkdir -p %{buildroot}/%{_bindir}
@ -48,5 +47,11 @@ install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1
%{_mandir}/man*/*
%changelog
* Mon Sep 30 2019 luhuaxin <luhuaxin@huawei.com> - 4.93.2-2
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: package rebuild
* Tue Sep 3 2019 luhuaxin <luhuaxin@huawei.com> - 4.93.2-1
- Package init