From af72b4b4dcca690670fb666ce193292f39000a2a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 17 Nov 2007 10:56:14 +0000 Subject: [PATCH] - New upstream release 3.0.0-rc3 - Remove eeprommer sub-package as eeprommer (and the other i2c-tools) have moved to the new i2c-tools package --- lm_sensors-3.0.0-rc3-ppc-build.patch | 14 ++++++++++++++ lm_sensors.spec | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 lm_sensors-3.0.0-rc3-ppc-build.patch diff --git a/lm_sensors-3.0.0-rc3-ppc-build.patch b/lm_sensors-3.0.0-rc3-ppc-build.patch new file mode 100644 index 0000000..1dcf8a1 --- /dev/null +++ b/lm_sensors-3.0.0-rc3-ppc-build.patch @@ -0,0 +1,14 @@ +diff -up lm_sensors-3.0.0-rc3/prog/dump/Module.mk~ lm_sensors-3.0.0-rc3/prog/dump/Module.mk +--- lm_sensors-3.0.0-rc3/prog/dump/Module.mk~ 2007-11-17 11:56:31.000000000 +0100 ++++ lm_sensors-3.0.0-rc3/prog/dump/Module.mk 2007-11-17 11:56:31.000000000 +0100 +@@ -59,7 +59,10 @@ install-prog-dump: all-prog-dump + $(MKDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(PROGDUMPMAN8DIR) + $(INSTALL) -m 755 $(PROGDUMPBININSTALL) $(DESTDIR)$(SBINDIR) + $(INSTALL) -m 644 $(PROGDUMPMAN8FILES) $(DESTDIR)$(PROGDUMPMAN8DIR) ++ ++ifneq (,$(findstring $(MACHINE), i386 i486 i586 i686 x86_64)) + user_install :: install-prog-dump ++endif + + user_uninstall:: + $(RM) $(REMOVEDUMPBIN) diff --git a/lm_sensors.spec b/lm_sensors.spec index 3148825..b531f2a 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -10,6 +10,7 @@ Source1: lm_sensors.sysconfig Source2: sensord.sysconfig Source3: sensord.init Patch0: lm_sensors-2.10.4-service-default-off.patch +Patch1: lm_sensors-3.0.0-rc3-ppc-build.patch Summary: Hardware monitoring tools Group: Applications/System License: GPLv2+ @@ -52,6 +53,7 @@ database, and warns of sensor alarms. %prep %setup -q -n %{name}-%{version}-%{prever} %patch0 -p1 +%patch1 -p1 mv prog/init/README prog/init/README.initscripts chmod -x prog/init/fancontrol.init