Accepting request 530020 from home:markkp:branches:network

- Added an ExcludeArch for %{arm} so that we won't try to build
  the package on armv7l. The build fails on that architecture.

OBS-URL: https://build.opensuse.org/request/show/530020
OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=12
This commit is contained in:
Mark Post 2017-09-29 20:18:25 +00:00 committed by Git OBS Bridge
parent c48d6e506b
commit 63a27aaf03
2 changed files with 21 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 29 20:16:24 UTC 2017 - mpost@suse.com
- Added an ExcludeArch for %{arm} so that we won't try to build
the package on armv7l. The build fails on that architecture.
-------------------------------------------------------------------
Mon Apr 3 13:45:31 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package smc-tools
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -15,27 +15,30 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: smc-tools
Version: 1.0.0
Release: 0
Url: https://www.ibm.com/developerworks/linux/linux390/
Summary: Shared Memory Communication via RDMA
License: EPL-1.0
Group: System/Kernel
Source: %{name}-%{version}.tar.gz
Name: smc-tools
Version: 1.0.0
Release: 0
Url: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
Summary: Shared Memory Communication via RDMA
License: EPL-1.0
Group: System/Kernel
Source: %{name}-%{version}.tar.gz
# aarch64 and ppc64le don't support 32bit applications, so there's no
# gcc-32bit package that can be installed
%ifarch s390x x86_64
BuildRequires: gcc-32bit
BuildRequires: gcc-32bit
%define have_32bit 1
%endif
BuildRequires: libnl3-devel
BuildRequires: libnl3-devel
ExcludeArch: %{arm}
# While repos other than Factory have 32bit for s390x, Factory does not
%if 0%{?suse_version} == 1330
%ifarch s390x
%define have_32bit 0
%define have_32bit 0
%endif
%endif