!45 Support build with clang
From: @luofeng14 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
b3af8a1b2a
10
lsof.spec
10
lsof.spec
@ -1,6 +1,6 @@
|
||||
Name: lsof
|
||||
Version: 4.99.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A tool for list open files
|
||||
License: Zlib and Sendmail and LGPL-2.0-or-later
|
||||
URL: https://people.freebsd.org/~abe/
|
||||
@ -24,7 +24,7 @@ The %{name}-help package contains doc files for %{name}.
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
./Configure -n linux
|
||||
LSOF_CC=%{__cc} ./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
|
||||
|
||||
@ -50,6 +50,12 @@ popd
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 22 2024 luofng <luofeng13@huawei.com> -4.99.3-2
|
||||
- Type: enhencement
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:support for building with clang
|
||||
|
||||
* Tue Jan 23 2024 zhoupengcheng <zhoupengcheng11@huawei.com> -4.99.3-1
|
||||
- update version to 4.99.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user