Mark Post 2017-04-18 23:35:00 +00:00 committed by Git OBS Bridge
parent 104d4ff08a
commit 5725cccc9b

View File

@ -20,7 +20,7 @@ Name: smc-tools
Version: 1.0.0
Release: 0
Url: https://www.ibm.com/developerworks/linux/linux390/
Summary: Shared Memory Communication via RDMA
Summary: Shared Memory
License: EPL-1.0
Group: System/Kernel
Source: %{name}-%{version}.tar.gz
@ -54,13 +54,13 @@ to use a RoCE network without needing to make changes in them.
%build
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
make CFLAGS="${MYCFLAGS} %{optflags}"
make CFLAGS="${MYCFLAGS} ${RPM_OPT_FLAGS}"
%install
%make_install
%ifarch s390 %{ix86}
rm -Rf "%{buildroot}/usr/lib64"
rm -rf ${RPM_BUILD_ROOT}/usr/lib64
%endif
%files