Accepting request 484874 from home:jengelh:branches:network

- Update summary. Replace old RPM shell variables by macros.

OBS-URL: https://build.opensuse.org/request/show/484874
OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=3
This commit is contained in:
Mark Post 2017-04-18 21:38:05 +00:00 committed by Git OBS Bridge
parent 8bc081087e
commit 5edee81325
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 3 13:45:31 UTC 2017 - jengelh@inai.de
- Update summary. Replace old RPM shell variables by macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 20 22:17:15 UTC 2017 - mpost@suse.com Mon Mar 20 22:17:15 UTC 2017 - mpost@suse.com

View File

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