From c7ca92a1130669b340a52d5aaa37df7bfd2873866b3fb7bcbad44bc0ec7b4aad Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 30 Nov 2010 14:47:02 +0000 Subject: [PATCH] Autobuild autoformatter for 54112 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sensors?expand=0&rev=62 --- sensors.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sensors.spec b/sensors.spec index 7b2219d..474da5e 100644 --- a/sensors.spec +++ b/sensors.spec @@ -22,7 +22,7 @@ Name: sensors BuildRequires: bison flex rrdtool-devel Url: http://www.lm-sensors.org/ Version: 3.2.0 -Release: 2 +Release: 3 Summary: Hardware health monitoring for Linux License: GPLv2+ Group: System/Monitoring @@ -36,7 +36,7 @@ Patch2: lm_sensors-3.0.0-sensord-separate.patch Patch3: lm_sensors-3.0.0-sysconfig_metadata.patch Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch Patch5: lm_sensors-3.1.1-no-ipmisensors-driver.patch -Patch6: libsensors-visibility.patch +Patch6: libsensors-visibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x @@ -140,6 +140,7 @@ Authors: %patch4 -p1 %patch5 -p1 %patch6 + %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} @@ -160,6 +161,7 @@ make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} M mkdir -p $RPM_BUILD_ROOT/etc/init.d install -m 0755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/lm_sensors ln -sf /etc/init.d/lm_sensors $RPM_BUILD_ROOT/usr/sbin/rclm_sensors + %clean rm -rf $RPM_BUILD_ROOT