support clang build
Signed-off-by: luofeng14 <luofeng13@huawei.com>
This commit is contained in:
parent
6c77377a0f
commit
95497fb75a
10
lsof.spec
10
lsof.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lsof
|
Name: lsof
|
||||||
Version: 4.99.3
|
Version: 4.99.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A tool for list open files
|
Summary: A tool for list open files
|
||||||
License: Zlib and Sendmail and LGPL-2.0-or-later
|
License: Zlib and Sendmail and LGPL-2.0-or-later
|
||||||
URL: https://people.freebsd.org/~abe/
|
URL: https://people.freebsd.org/~abe/
|
||||||
@ -24,7 +24,7 @@ The %{name}-help package contains doc files for %{name}.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%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"
|
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
|
||||||
soelim -r Lsof.8 > lsof.1
|
soelim -r Lsof.8 > lsof.1
|
||||||
|
|
||||||
@ -50,6 +50,12 @@ popd
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 23 2024 zhoupengcheng <zhoupengcheng11@huawei.com> -4.99.3-1
|
||||||
- update version to 4.99.3
|
- update version to 4.99.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user