!2 update package to 3.6.0 version
Merge pull request !2 from 吴旭/master
This commit is contained in:
commit
ba55930cdb
BIN
V3-6-0.tar.gz
Normal file
BIN
V3-6-0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,15 +1,15 @@
|
|||||||
Name: lm_sensors
|
Name: lm_sensors
|
||||||
Version: 3.4.0
|
Version: 3.6.0
|
||||||
Release: 20
|
Release: 1
|
||||||
Summary: Linux-monitoring sensors
|
Summary: Linux-monitoring sensors
|
||||||
# lib/libsensors.3 is licensed Verbatim
|
# lib/libsensors.3 is licensed Verbatim
|
||||||
# dist-git files are licensed MIT
|
# dist-git files are licensed MIT
|
||||||
# and others are licensed by GPLv2+ or LGPLv2+
|
# and others are licensed by GPLv2+ or LGPLv2+
|
||||||
License: LGPLv2+ and GPLv2+ and Verbatim and MIT
|
License: LGPLv2+ and GPLv2+ and Verbatim and MIT
|
||||||
URL: http://github.com/groeck/lm-sensors
|
URL: https://github.com/lm-sensors/lm-sensors
|
||||||
|
|
||||||
# Source0 is https://github.com/lm-sensors/lm-sensors/archive/70f7e0848410b9ca4dde7abff669bbbecbf137e0.zip
|
# Source0 is https://github.com/lm-sensors/lm-sensors/archive/V3-6-0.tar.gz
|
||||||
Source0: lm-sensors-70f7e0848410b9ca4dde7abff669bbbecbf137e0.tar.gz
|
Source0: V3-6-0.tar.gz
|
||||||
Source1: lm_sensors.sysconfig
|
Source1: lm_sensors.sysconfig
|
||||||
Source2: sensord.sysconfig
|
Source2: sensord.sysconfig
|
||||||
Source3: lm_sensors-modprobe-wrapper
|
Source3: lm_sensors-modprobe-wrapper
|
||||||
@ -17,7 +17,6 @@ Source4: lm_sensors-modprobe-r-wrapper
|
|||||||
Source5: sensord.service
|
Source5: sensord.service
|
||||||
Source6: sensord-service-wrapper
|
Source6: sensord-service-wrapper
|
||||||
Source7: lm_sensors.service
|
Source7: lm_sensors.service
|
||||||
Patch6000:pwmconfig-Fix-a-sed-expression.patch
|
|
||||||
|
|
||||||
Requires: kmod, systemd-units
|
Requires: kmod, systemd-units
|
||||||
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
|
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
|
||||||
@ -61,7 +60,7 @@ Summary: Help information for user
|
|||||||
Help information for user
|
Help information for user
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n lm-sensors-70f7e0848410b9ca4dde7abff669bbbecbf137e0 -p1
|
%autosetup -n lm-sensors-3-6-0 -p1
|
||||||
rm -f prog/init/sysconfig-lm_sensors-convert prog/hotplug/unhide_ICH_SMBus
|
rm -f prog/init/sysconfig-lm_sensors-convert prog/hotplug/unhide_ICH_SMBus
|
||||||
mv prog/init/README prog/init/README.initscripts
|
mv prog/init/README prog/init/README.initscripts
|
||||||
chmod -x prog/init/fancontrol.init
|
chmod -x prog/init/fancontrol.init
|
||||||
@ -119,12 +118,12 @@ fi
|
|||||||
%systemd_postun_with_restart lm_sensors.service
|
%systemd_postun_with_restart lm_sensors.service
|
||||||
|
|
||||||
# ==== sensord ===
|
# ==== sensord ===
|
||||||
%post sensord
|
#%post sensord
|
||||||
%systemd_post sensord.service
|
#%systemd_post sensord.service
|
||||||
%preun sensord
|
#%preun sensord
|
||||||
%systemd_preun sensord.service
|
#%systemd_preun sensord.service
|
||||||
%postun sensord
|
#%postun sensord
|
||||||
%systemd_postun_with_restart sensord.service
|
#%systemd_postun_with_restart sensord.service
|
||||||
|
|
||||||
# ===== libs =====
|
# ===== libs =====
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
@ -161,6 +160,9 @@ fi
|
|||||||
%exclude %{_mandir}/man8/sensord.8.gz
|
%exclude %{_mandir}/man8/sensord.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.6.0-1
|
||||||
|
- upgrade package to 3.6.0
|
||||||
|
|
||||||
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.0-20
|
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.0-20
|
||||||
- update spec
|
- update spec
|
||||||
|
|
||||||
|
|||||||
@ -1,34 +0,0 @@
|
|||||||
From 38220cc2e97215588b662584d6ad84d63415842f Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
|
|
||||||
Date: Thu, 20 Sep 2018 21:17:40 +0200
|
|
||||||
Subject: [PATCH 094/117] pwmconfig: Fix a sed expression
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
This fixes commit 3daae37d58cd.
|
|
||||||
The escaping inside backticks is really kinda crazy.
|
|
||||||
|
|
||||||
Fixes #126
|
|
||||||
|
|
||||||
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
|
|
||||||
---
|
|
||||||
prog/pwm/pwmconfig | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/prog/pwm/pwmconfig b/prog/pwm/pwmconfig
|
|
||||||
index c24c891..a40acd5 100755
|
|
||||||
--- a/prog/pwm/pwmconfig
|
|
||||||
+++ b/prog/pwm/pwmconfig
|
|
||||||
@@ -879,7 +879,7 @@ select pwms in $pwmactive "Change INTERVAL" "Just quit" "Save and quit" "Show co
|
|
||||||
break ;;
|
|
||||||
|
|
||||||
"$(echo ${pwmactive} |sed -e 's/ /\n/g' | egrep "${pwms}")" )
|
|
||||||
- pwmsed=$(echo ${pwms} | sed -e 's/\//\\\\\//g') #escape / for sed
|
|
||||||
+ pwmsed=$(echo ${pwms} | sed -e 's/\//\\\//g') #escape / for sed
|
|
||||||
echo
|
|
||||||
|
|
||||||
echo 'Devices:'
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user