Accepting request 493818 from science:HPC:rdma-core

Fix s390

OBS-URL: https://build.opensuse.org/request/show/493818
OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=17
This commit is contained in:
Nicolas Morey-Chaisemartin 2017-05-09 18:11:32 +00:00 committed by Git OBS Bridge
parent 63b6c96be5
commit abe9a7b97f

View File

@ -51,7 +51,7 @@ BuildRequires: gcc
BuildRequires: libudev-devel
BuildRequires: pkgconfig
BuildRequires: systemd-devel
%ifnarch s390x
%ifnarch s390 s390x
BuildRequires: valgrind-devel
%endif
BuildRequires: systemd-rpm-macros
@ -104,7 +104,7 @@ Requires: %{verbs_lname} = %{version}-%{release}
Requires: %{ibcm_lname} = %{version}-%{release}
Requires: %{umad_lname} = %{version}-%{release}
Requires: %{rdmacm_lname} = %{version}-%{release}
%ifnarch s390x
%ifnarch s390 s390x
Requires: %{mlx5_lname} = %{version}-%{release}
%endif
Requires: rsocket = %{version}-%{release}
@ -153,7 +153,7 @@ Provides: libocrdma-rdmav2 = %{version}-%{release}
Obsoletes: libocrdma-rdmav2 < %{version}-%{release}
Provides: librxe-rdmav2 = %{version}-%{release}
Obsoletes: librxe-rdmav2 < %{version}-%{release}
%ifnarch s390x
%ifnarch s390 s390x
Requires: %{mlx5_lname} = %{version}-%{release}
%endif
@ -185,7 +185,7 @@ Group: System/Libraries
%description -n %verbs_lname
This package contains the ibverbs runtime library.
%ifnarch s390x
%ifnarch s390 s390x
%package -n %mlx5_lname
Summary: MLX5 runtime library
Group: System/Libraries
@ -362,7 +362,7 @@ rm -rf %{buildroot}/%{_initddir}/
%post -n %verbs_lname -p /sbin/ldconfig
%postun -n %verbs_lname -p /sbin/ldconfig
%ifnarch s390x
%ifnarch s390 s390x
%post -n %mlx5_lname -p /sbin/ldconfig
%postun -n %mlx5_lname -p /sbin/ldconfig
%endif
@ -473,7 +473,7 @@ rm -rf %{buildroot}/%{_initddir}/
%{_mandir}/man3/umad*
%{_mandir}/man3/*_to_ibv_rate.*
%{_mandir}/man7/rdma_cm.*
%ifnarch s390x
%ifnarch s390 s390x
%{_mandir}/man3/mlx5*
%{_mandir}/man7/mlx5*
%endif
@ -494,7 +494,7 @@ rm -rf %{buildroot}/%{_initddir}/
%defattr(-,root,root)
%{_libdir}/libibverbs*.so.*
%ifnarch s390x
%ifnarch s390 s390x
%files -n %mlx5_lname
%defattr(-,root,root)
%{_libdir}/libmlx5*.so.*