Hello community, here is the log from the commit of package infiniband-diags for openSUSE:Factory checked in at 2015-11-08 14:36:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/infiniband-diags (Old) and /work/SRC/openSUSE:Factory/.infiniband-diags.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "infiniband-diags" Changes: -------- --- /work/SRC/openSUSE:Factory/infiniband-diags/infiniband-diags.changes 2015-02-16 21:14:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.infiniband-diags.new/infiniband-diags.changes 2015-11-08 14:36:17.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Nov 3 21:47:00 UTC 2015 - p.drou...@gmail.com + +- Update to version 1.6.6 + * No short changelog available; please read the ChangeLog file +- Use download Url as source +- Add a systemd service file for rdma-ndd +- Add pkgconfig(libudev) and systemd-rpm-macros build require +- Add dependency to systemd +- Update infiniband-diags-configure.patch + +------------------------------------------------------------------- Old: ---- infiniband-diags-1.6.4.tar.gz New: ---- infiniband-diags-1.6.6.tar.gz rdma-ndd.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ infiniband-diags.spec ++++++ --- /var/tmp/diff_new_pack.zNcY7b/_old 2015-11-08 14:36:18.000000000 +0100 +++ /var/tmp/diff_new_pack.zNcY7b/_new 2015-11-08 14:36:18.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package infiniband-diags # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,15 +20,15 @@ Summary: OpenIB InfiniBand Diagnostic Tools License: GPL-2.0 or BSD-2-Clause Group: Productivity/Networking/Diagnostic -Version: 1.6.4 +Version: 1.6.6 Release: 0 -Source0: %{name}-%{version}.tar.gz -Source1: %{name}-rpmlintrc +Source0: https://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz +Source1: rdma-ndd.service +Source99: %{name}-rpmlintrc Patch0: infiniband-diags-configure.patch Patch1: infiniband-diags-automake_foreign.patch Patch2: infiniband-diags-help_for_ibnodes.patch Url: http://www.openfabrics.org -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: glib2-devel @@ -38,7 +38,10 @@ BuildRequires: libtool BuildRequires: opensm-devel BuildRequires: pkg-config +BuildRequires: pkgconfig(libudev) +BuildRequires: systemd-rpm-macros Requires: perl = %{perl_version} +%{?systemd_requires} %define so_major 5 @@ -82,13 +85,27 @@ %build autoreconf -fi -export CFLAGS="%{optflags}" %configure --with-perl-installdir=%{perl_vendorarch} --disable-static make %{?_smp_mflags} V=1 %install make DESTDIR=%buildroot install rm -f %{buildroot}%{_libdir}/*.la +# Remove the init script and install a systemd init file +rm -rf %{buildroot}/%{_sysconfdir}/init.d +install -Dm 644 %{SOURCE1} %{buildroot}%{_unitdir}/rdma-ndd.service + +%pre +%service_add_pre rdma-ndd.service + +%post +%service_add_post rdma-ndd.service + +%preun +%service_del_preun rdma-ndd.service + +%postun +%service_del_postun rdma-ndd.service %post -n libibnetdisc%{so_major} -p /sbin/ldconfig @@ -104,6 +121,7 @@ %_mandir/man8/* %_mandir/man3/* %{perl_vendorarch}/IBswcountlimits.pm +%{_unitdir}/rdma-ndd.service %files -n libibnetdisc%{so_major} %defattr(-, root, root) ++++++ infiniband-diags-1.6.4.tar.gz -> infiniband-diags-1.6.6.tar.gz ++++++ ++++ 36341 lines of diff (skipped) ++++++ infiniband-diags-configure.patch ++++++ --- /var/tmp/diff_new_pack.zNcY7b/_old 2015-11-08 14:36:18.000000000 +0100 +++ /var/tmp/diff_new_pack.zNcY7b/_new 2015-11-08 14:36:18.000000000 +0100 @@ -25,9 +25,9 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.57) --AC_INIT(infiniband-diags, 1.6.4, linux-r...@vger.kernel.org) +-AC_INIT(infiniband-diags, 1.6.6, linux-r...@vger.kernel.org) +AC_PREREQ(2.63) -+AC_INIT([infiniband-diags],[1.6.4],[linux-r...@vger.kernel.org]) ++AC_INIT([infiniband-diags],[1.6.6],[linux-r...@vger.kernel.org]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) ++++++ rdma-ndd.service ++++++ # Freshly created, didn't find an existing rdma-ndd.service anywhere # Skeleton systemd service file, may need additional work such as Before/Requires/After [Unit] Description=Start or stop the srptools rdma-ndd daemon Documentation=file:///etc/infiniband-diags/ibdiag.conf [Service] Type=simple ExecStart=/usr/bin/rdma-ndd [Install] WantedBy=network.target