!29 【轻量级 PR】:add llvm compile support

From: @leeffo 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2023-04-28 07:15:15 +00:00 committed by Gitee
commit 3be4d784b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: lm_sensors
Version: 3.6.0
Release: 5
Release: 6
Summary: Linux-monitoring sensors
# lib/libsensors.3 is licensed Verbatim
# dist-git files are licensed MIT
@ -72,6 +72,8 @@ cp -p %{SOURCE7} lm_sensors.service
sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" sensord.service
sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service
sed -i 's|CC := gcc|CC ?= gcc|' Makefile
%build
%set_build_flags
%make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \
@ -162,6 +164,9 @@ fi
%exclude %{_mandir}/man8/sensord.8.gz
%changelog
* Sun Apr 23 2023 liweiganga <liweiganga@uniontech.com> - 3.6.0-6
- add llvm compile support
* Sat Sep 19 2020 xinghe <xinghe1@huawei.com> - 3.6.0-5
- fix uninstall failure