!45 Support build with clang

From: @luofeng14 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-02-27 09:34:07 +00:00 committed by Gitee
commit b3af8a1b2a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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