Hello community, here is the log from the commit of package smc-tools for openSUSE:Factory checked in at 2018-12-03 10:10:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smc-tools (Old) and /work/SRC/openSUSE:Factory/.smc-tools.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smc-tools" Mon Dec 3 10:10:28 2018 rev:5 rq:653156 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/smc-tools/smc-tools.changes 2018-08-27 12:59:13.396807936 +0200 +++ /work/SRC/openSUSE:Factory/.smc-tools.new.19453/smc-tools.changes 2018-12-03 10:10:36.011697380 +0100 @@ -1,0 +2,6 @@ +Fri Nov 30 21:11:45 UTC 2018 - [email protected] + +- Made multiple changes to the spec file based on the output + from spec-cleaner. + +------------------------------------------------------------------- @@ -4 +10 @@ -- Upgraded to version 1.1.0 (Fates 325009 and 325168) +- Upgraded to version 1.1.0 (Fates 325009, 325168 and 325702) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smc-tools.spec ++++++ --- /var/tmp/diff_new_pack.CTRINx/_old 2018-12-03 10:10:36.511696918 +0100 +++ /var/tmp/diff_new_pack.CTRINx/_new 2018-12-03 10:10:36.515696914 +0100 @@ -12,36 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: smc-tools -Version: 1.1.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 -Source1: smc-tools-rpmlintrc - # 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 %define have_32bit 1 +BuildRequires: gcc-32bit %endif -BuildRequires: libnl3-devel -PreReq: permissions # While repos other than Factory have 32bit for s390x, Factory does not -%if 0%{?suse_version} == 1330 +%if 0%{?suse_version} == 1550 %ifarch s390x %define have_32bit 0 %endif %endif +Name: smc-tools +Version: 1.1.0 +Release: 0 +Summary: Shared Memory Communication via RDMA +License: EPL-1.0 +Group: System/Kernel +URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html +Source: %{name}-%{version}.tar.gz +Source1: smc-tools-rpmlintrc + +BuildRequires: libnl3-devel +PreReq: permissions + %description Shared Memory Communication via RDMA (SMC) is a socket over RDMA communication protocol that allows existing TCP socket applications to @@ -52,40 +53,41 @@ to use a RoCE network without needing to make changes in them. %prep -%setup +%setup -q %build MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=) -make CFLAGS="${MYCFLAGS} %{optflags}" +make %{?_smp_mflags} V=1 CFLAGS="${MYCFLAGS} %{optflags}" %install -%make_install +%make_install V=1 %ifarch s390 %{ix86} -rm -Rf "%{buildroot}/usr/lib64" +rm -Rf "%{buildroot}%{_prefix}/lib64" %endif %verifyscript -%verify_permissions -e /usr/lib/libsmc-preload.so +%verify_permissions -e %{_prefix}/lib/libsmc-preload.so %verify_permissions -e %{_libdir}/libsmc-preload.so %post -%set_permissions /usr/lib/libsmc-preload.so +%set_permissions %{_prefix}/lib/libsmc-preload.so %set_permissions %{_libdir}/libsmc-preload.so %files %defattr(-,root,root) -%doc README.smctools LICENSE +%license LICENSE +%doc README.smctools %{_bindir}/smc_pnet %{_bindir}/smc_run %{_bindir}/smcss %{_libdir}/libsmc-preload.so %if 0%{?have_32bit} -/usr/lib/libsmc-preload.so +%{_prefix}/lib/libsmc-preload.so %endif -%{_mandir}/man7/af_smc.7%{ext_man} -%{_mandir}/man8/smc_pnet.8%{ext_man} -%{_mandir}/man8/smc_run.8%{ext_man} -%{_mandir}/man8/smcss.8%{ext_man} +%{_mandir}/man7/af_smc.7%{?ext_man} +%{_mandir}/man8/smc_pnet.8%{?ext_man} +%{_mandir}/man8/smc_run.8%{?ext_man} +%{_mandir}/man8/smcss.8%{?ext_man} %changelog
