From 14ae2442a3323892d9183181be9957477d8c6738 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Thu, 1 Aug 2013 13:58:39 +0200 Subject: [PATCH] RH man page scan (#948520) --- lm_sensors-3.3.4-man-sensors-conf-conv.patch | 48 ++++++++++++++++++++ lm_sensors.spec | 7 ++- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 lm_sensors-3.3.4-man-sensors-conf-conv.patch diff --git a/lm_sensors-3.3.4-man-sensors-conf-conv.patch b/lm_sensors-3.3.4-man-sensors-conf-conv.patch new file mode 100644 index 0000000..12ce553 --- /dev/null +++ b/lm_sensors-3.3.4-man-sensors-conf-conv.patch @@ -0,0 +1,48 @@ +diff -Naur lm_sensors-3.3.4.orig/etc/Module.mk lm_sensors-3.3.4/etc/Module.mk +--- lm_sensors-3.3.4.orig/etc/Module.mk 2009-07-24 15:52:28.000000000 +0200 ++++ lm_sensors-3.3.4/etc/Module.mk 2013-08-01 13:47:42.000000000 +0200 +@@ -32,10 +32,13 @@ + -a ! -e $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ] ; then \ + $(MV) $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ; \ + fi ++ $(MKDIR) $(DESTDIR)$(MANDIR)/man8 ++ $(INSTALL) -m 644 $(ETC_DIR)/sensors-conf-convert.8 $(DESTDIR)$(MANDIR)/man8 + + user_install :: install-etc + + uninstall-etc: + $(RM) $(DESTDIR)$(BINDIR)/sensors-conf-convert ++ $(RM) $(DESTDIR)$(MANDIR)/man8/sensors-conf-convert.8 + + user_uninstall :: uninstall-etc +diff -Naur lm_sensors-3.3.4.orig/etc/sensors-conf-convert.8 lm_sensors-3.3.4/etc/sensors-conf-convert.8 +--- lm_sensors-3.3.4.orig/etc/sensors-conf-convert.8 1970-01-01 01:00:00.000000000 +0100 ++++ lm_sensors-3.3.4/etc/sensors-conf-convert.8 2013-08-01 13:34:06.197767137 +0200 +@@ -0,0 +1,27 @@ ++.TH SENSORS-CONF-CONVERT 8 "August 2013" "lm-sensors 3" ++.SH NAME ++sensors-conf-convert \- sensors configuration conversion ++ ++.SH SYNOPSIS ++.B sensors-conf-convert ++\ < ++.I /etc/sensors.conf ++\ \ \ > ++.I /etc/sensors3.conf ++ ++.SH DESCRIPTION ++The purpose of the ++.B sensors-conf-convert ++tool is to convert ++.I sensors.conf ++from the lm_sensors version 2 to the lm_sensors ++version 3 format. ++.P ++The data are read from the standard input and the result ++is written to the standard output. ++ ++.SH SEE ALSO ++sensors(1) ++ ++.SH AUTHOR ++Jean Delvare diff --git a/lm_sensors.spec b/lm_sensors.spec index ac65a3c..f3457a3 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -1,6 +1,6 @@ Name: lm_sensors Version: 3.3.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Hardware monitoring tools Group: Applications/System License: LGPLv2+ @@ -16,6 +16,7 @@ Source4: lm_sensors-modprobe-r Patch0: lm_sensors-3.3.4-sensors-detect-null-input.patch Patch1: lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch +Patch2: lm_sensors-3.3.4-man-sensors-conf-conv.patch %ifarch %{ix86} x86_64 Requires: /usr/sbin/dmidecode @@ -62,6 +63,7 @@ database, and warns of sensor alarms. %patch0 -p1 %patch1 -p1 +%patch2 -p1 mv prog/init/README prog/init/README.initscripts chmod -x prog/init/fancontrol.init @@ -167,6 +169,9 @@ fi %changelog +* Thu Aug 01 2013 Jaromir Capik - 3.3.4-5 +- RH man page scan (#948520) + * Tue Jul 30 2013 Jaromir Capik - 3.3.4-4 - Avoiding modprobe errors when no sensors configured (#834215) - Introducing fancontrol service file (#988922)