update code
This commit is contained in:
parent
4224df7c26
commit
e8be995c9d
11
lsof.spec
11
lsof.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lsof
|
Name: lsof
|
||||||
Version: 4.93.2
|
Version: 4.93.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A tool for list open files
|
Summary: A tool for list open files
|
||||||
License: zlib and Sendmail and LGPLv2+
|
License: zlib and Sendmail and LGPLv2+
|
||||||
URL: https://people.freebsd.org/~abe/
|
URL: https://people.freebsd.org/~abe/
|
||||||
@ -20,18 +20,17 @@ about files open to Unix processes. It runs on many Unix dialects.
|
|||||||
%package help
|
%package help
|
||||||
Summary: Doc files for %{name}
|
Summary: Doc files for %{name}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires: man
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
The %{name}-help package contains doc files for %{name}.
|
The %{name}-help package contains doc files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
ls
|
|
||||||
%autosetup -n %{name}-%{version} -p1 -S git
|
%autosetup -n %{name}-%{version} -p1 -S git
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./Configure -n linux
|
./Configure -n linux
|
||||||
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
|
%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
|
%install
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
@ -48,5 +47,11 @@ install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Sep 3 2019 luhuaxin <luhuaxin@huawei.com> - 4.93.2-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user