Hello community, here is the log from the commit of package rdma-core for openSUSE:Factory checked in at 2017-06-17 10:21:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rdma-core (Old) and /work/SRC/openSUSE:Factory/.rdma-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rdma-core" Sat Jun 17 10:21:30 2017 rev:3 rq:503764 version:14 Changes: -------- --- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes 2017-06-02 10:33:21.507683493 +0200 +++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-06-17 10:21:31.916086322 +0200 @@ -1,0 +2,15 @@ +Wed Jun 7 18:45:12 UTC 2017 - [email protected] + +- BuildRequire pkgconfig(systemd) instead of systemd-devel: this + allows OBS to chose systemd-mini and produce a better + rebuild-chain. + +------------------------------------------------------------------- +Wed Jun 7 13:02:09 UTC 2017 - [email protected] + +- Add patch rdma-core-s390x.patch to fix s390x build (bsc#1043105). + * Add missing verbs providers for s390x + * Add mlx5 package for s390x +- libibverbs1 requires libibverbs (bsc#1042840). + +------------------------------------------------------------------- New: ---- rdma-core-s390x.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rdma-core.spec ++++++ --- /var/tmp/diff_new_pack.gUEqgU/_old 2017-06-17 10:21:32.559995490 +0200 +++ /var/tmp/diff_new_pack.gUEqgU/_new 2017-06-17 10:21:32.563994925 +0200 @@ -46,12 +46,13 @@ Url: https://github.com/linux-rdma/rdma-core Source0: %{name}-%{version}%{git_ver}.tar.xz Source1: baselibs.conf +Patch1: rdma-core-s390x.patch BuildRequires: binutils BuildRequires: cmake >= 2.8.11 BuildRequires: gcc BuildRequires: libudev-devel BuildRequires: pkgconfig -BuildRequires: systemd-devel +BuildRequires: pkgconfig(systemd) %ifnarch s390 s390x BuildRequires: valgrind-devel %endif @@ -104,7 +105,7 @@ Requires: %{rdmacm_lname} = %{version}-%{release} Requires: %{umad_lname} = %{version}-%{release} Requires: %{verbs_lname} = %{version}-%{release} -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl Requires: %{mlx5_lname} = %{version}-%{release} %endif Requires: rsocket = %{version}-%{release} @@ -153,7 +154,7 @@ Obsoletes: libocrdma-rdmav2 < %{version}-%{release} Provides: librxe-rdmav2 = %{version}-%{release} Obsoletes: librxe-rdmav2 < %{version}-%{release} -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl Requires: %{mlx5_lname} = %{version}-%{release} %endif @@ -181,11 +182,12 @@ %package -n %verbs_lname Summary: Ibverbs runtime library Group: System/Libraries +Requires: libibverbs = %{version} %description -n %verbs_lname This package contains the ibverbs runtime library. -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl %package -n %mlx5_lname Summary: MLX5 runtime library Group: System/Libraries @@ -296,6 +298,7 @@ %prep %setup -q -n %{name}-%{version}%{git_ver} +%patch1 %build @@ -382,7 +385,7 @@ %post -n %verbs_lname -p /sbin/ldconfig %postun -n %verbs_lname -p /sbin/ldconfig -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl %post -n %mlx5_lname -p /sbin/ldconfig %postun -n %mlx5_lname -p /sbin/ldconfig %endif @@ -500,7 +503,7 @@ %{_mandir}/man3/umad* %{_mandir}/man3/*_to_ibv_rate.* %{_mandir}/man7/rdma_cm.* -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl %{_mandir}/man3/mlx5* %{_mandir}/man7/mlx5* %endif @@ -521,7 +524,7 @@ %defattr(-,root,root) %{_libdir}/libibverbs*.so.* -%ifnarch s390 s390x armv7hl +%ifnarch s390 armv7hl %files -n %mlx5_lname %defattr(-,root,root) %{_libdir}/libmlx5*.so.* ++++++ rdma-core-s390x.patch ++++++ diff --git util/udma_barrier.h util/udma_barrier.h index 9932a687..23acf233 100644 --- util/udma_barrier.h +++ util/udma_barrier.h @@ -192,6 +192,7 @@ #define mmio_flush_writes() asm volatile("dsb st" ::: "memory"); #elif defined(__sparc__) || defined(__s390x__) #define mmio_flush_writes() asm volatile("" ::: "memory") +#else #error No architecture specific memory barrier defines found! #endif
