Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package smc-tools for openSUSE:Factory checked in at 2021-01-28 21:22:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smc-tools (Old) and /work/SRC/openSUSE:Factory/.smc-tools.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smc-tools" Thu Jan 28 21:22:34 2021 rev:11 rq:867550 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/smc-tools/smc-tools.changes 2020-12-11 20:15:56.648640465 +0100 +++ /work/SRC/openSUSE:Factory/.smc-tools.new.28504/smc-tools.changes 2021-01-28 21:22:35.239655412 +0100 @@ -1,0 +2,10 @@ +Wed Jan 27 21:52:54 UTC 2021 - Mark Post <mp...@suse.com> + +- Added a BuildRequires for bash-completion-devel so that the + completion file for smc will be built and installed. (bsc#1181360) +- Created a new sub-package, smc-tools-completion, to deliver the + bash completion files. +- Replaced the "make" command with the %make_build macro according + to the recommendation from spec-cleaner. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smc-tools.spec ++++++ --- /var/tmp/diff_new_pack.w2e2XY/_old 2021-01-28 21:22:35.635656040 +0100 +++ /var/tmp/diff_new_pack.w2e2XY/_new 2021-01-28 21:22:35.639656047 +0100 @@ -1,7 +1,7 @@ # # spec file for package smc-tools # -# Copyright (c) 2018-2020 SUSE LLC +# Copyright (c) 2018-2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Source: %{name}-%{version}.tar.gz Source1: smc-tools-rpmlintrc +BuildRequires: bash-completion-devel BuildRequires: libnl3-devel PreReq: permissions @@ -38,6 +39,18 @@ The tools provided in this package allow existing TCP applications to use a RoCE network without needing to make changes in them. +%package completion +Summary: Bash completion for smc-tools +Group: System/Kernel + +Requires: %{name} +Requires: bash-completion +Supplements: (%{name} and bash-completion) + +%description completion +This package contains the files to enable command completion for the +smc-tools package when running a bash shell. + %prep %autosetup -p1 @@ -48,7 +61,7 @@ # parameters. MYCFLAGS=$(grep ^CFLAGS Makefile | head -n1 | cut -f2 -d=) MYCFLAGS+=" $(pkg-config --silence-errors --cflags libnl-genl-3.0)" -make %{?_smp_mflags} V=1 CFLAGS="${MYCFLAGS} %{optflags}" +%make_build CFLAGS="${MYCFLAGS} %{optflags}" %install %make_install V=1 @@ -92,4 +105,7 @@ %{_mandir}/man8/smcr.8%{?ext_man} %{_mandir}/man8/smcss.8%{?ext_man} +%files completion +%{_datadir}/bash-completion/completions/smc* + %changelog