Accepting request 397803 from home:oertel:branches:Base:System

- skip libsensors on s390/s390x

OBS-URL: https://build.opensuse.org/request/show/397803
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=67
This commit is contained in:
Dirk Mueller 2016-05-25 10:09:48 +00:00 committed by Git OBS Bridge
parent 0dc6490f39
commit 92ec781eed
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 25 01:57:31 CEST 2016 - ro@suse.de
- skip libsensors on s390/s390x
-------------------------------------------------------------------
Mon Nov 16 17:41:10 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package sysstat
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -40,7 +40,9 @@ Patch3: sysstat-8.0.4-sysconfdir.diff
# PATCH-FIX-OPENSUSE avoid build dates in generated files
Patch4: sysstat-9.0.4-no-build-date.patch
BuildRequires: findutils
%ifnarch s390 s390x
BuildRequires: libsensors4-devel
%endif
BuildRequires: pkg-config
BuildRequires: sed
BuildRequires: systemd-rpm-macros
@ -91,8 +93,10 @@ export history="60"
--enable-nls \
--disable-man-group \
--enable-debug-info \
--disable-stripping \
--enable-sensors
%ifnarch s390 s390x
--enable-sensors \
%endif
--disable-stripping
make %{?_smp_mflags}
%install