!8 update to version 3.6.0
Merge pull request !8 from luocheng382548/openEuler-20.03-LTS
This commit is contained in:
commit
8ead94d2ce
Binary file not shown.
@ -2,7 +2,11 @@
|
||||
if [ $# -ne 0 ]; then
|
||||
/usr/sbin/modprobe -abr "$@"
|
||||
else
|
||||
echo "No sensors with loadable kernel modules configured."
|
||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||
exit 1
|
||||
if ! /usr/bin/sensors -s &> /dev/null ; then
|
||||
echo "No sensors with loadable kernel modules configured."
|
||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||
exit 1
|
||||
else
|
||||
echo "you can run 'sensors-detect' as root in order to search for more available sensors."
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -2,7 +2,11 @@
|
||||
if [ $# -ne 0 ]; then
|
||||
/usr/sbin/modprobe -ab "$@"
|
||||
else
|
||||
echo "No sensors with loadable kernel modules configured."
|
||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||
exit 1
|
||||
if ! /usr/bin/sensors -s &> /dev/null ; then
|
||||
echo "No sensors with loadable kernel modules configured."
|
||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||
exit 1
|
||||
else
|
||||
echo "you can run 'sensors-detect' as root in order to search for more available sensors."
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -1,15 +1,17 @@
|
||||
%define git_version %(echo %{version} |sed -e 's/\\./-/g')
|
||||
|
||||
Name: lm_sensors
|
||||
Version: 3.4.0
|
||||
Release: 21
|
||||
Version: 3.6.0
|
||||
Release: 1
|
||||
Summary: Linux-monitoring sensors
|
||||
# lib/libsensors.3 is licensed Verbatim
|
||||
# dist-git files are licensed MIT
|
||||
# and others are licensed by GPLv2+ or LGPLv2+
|
||||
License: LGPLv2+ and GPLv2+ and Verbatim and MIT
|
||||
URL: http://github.com/groeck/lm-sensors
|
||||
URL: http://github.com/lm-sensors/lm-sensors
|
||||
|
||||
# Source0 is https://github.com/lm-sensors/lm-sensors/archive/70f7e0848410b9ca4dde7abff669bbbecbf137e0.zip
|
||||
Source0: lm-sensors-70f7e0848410b9ca4dde7abff669bbbecbf137e0.tar.gz
|
||||
#from https://github.com/lm-sensors/lm-sensors/archive/V%{git_version}/lm-sensors-%{git_version}.tar.gz
|
||||
Source0: lm-sensors-%{git_version}.tar.gz
|
||||
Source1: lm_sensors.sysconfig
|
||||
Source2: sensord.sysconfig
|
||||
Source3: lm_sensors-modprobe-wrapper
|
||||
@ -17,7 +19,6 @@ Source4: lm_sensors-modprobe-r-wrapper
|
||||
Source5: sensord.service
|
||||
Source6: sensord-service-wrapper
|
||||
Source7: lm_sensors.service
|
||||
Patch6000:pwmconfig-Fix-a-sed-expression.patch
|
||||
|
||||
Requires: kmod, systemd-units
|
||||
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
|
||||
@ -61,7 +62,7 @@ Summary: Help information for user
|
||||
Help information for user
|
||||
|
||||
%prep
|
||||
%autosetup -n lm-sensors-70f7e0848410b9ca4dde7abff669bbbecbf137e0 -p1
|
||||
%autosetup -n lm-sensors-%{git_version} -p1
|
||||
rm -f prog/init/sysconfig-lm_sensors-convert prog/hotplug/unhide_ICH_SMBus
|
||||
mv prog/init/README prog/init/README.initscripts
|
||||
chmod -x prog/init/fancontrol.init
|
||||
@ -161,6 +162,9 @@ fi
|
||||
%exclude %{_mandir}/man8/sensord.8.gz
|
||||
|
||||
%changelog
|
||||
* Thu May 28 2020 Chunsheng Luo <luochunsheng@huawei.com> - 3.6.0-1
|
||||
- update to version 3.6.0
|
||||
|
||||
* Thu Jan 16 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.4.0-21
|
||||
- revert package and turn off service file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user