From 84455b03d57a6e84a5f26ce8442b1884b38ce513 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 10 Mar 2020 21:57:39 +0000 Subject: [PATCH] New upstream development version 1.3.5. Add new bash-completion subpackage. --- libnbd.spec | 27 ++++++++++++++++++++++++++- sources | 4 ++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/libnbd.spec b/libnbd.spec index bfdbc2d..fbc7c32 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -8,7 +8,7 @@ %global source_directory 1.3-development Name: libnbd -Version: 1.3.4 +Version: 1.3.5 Release: 1%{?dist} Summary: NBD client library in userspace @@ -49,6 +49,9 @@ BuildRequires: ocaml-findlib-devel # Only for building the examples. BuildRequires: glib2-devel +# For bash-completion. +BuildRequires: bash-completion + # Only for running the test suite. BuildRequires: gnutls-utils %if 0%{?fedora} >= 31 @@ -138,6 +141,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains FUSE support for %{name}. +%package bash-completion +Summary: Bash tab-completion for %{name} +BuildArch: noarch +Requires: bash-completion >= 2.0 +Requires: %{name}-server = %{version}-%{release} + + +%description bash-completion +Install this package if you want intelligent bash tab-completion +for %{name}. + + %prep %if 0%{verify_tarball_signature} %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' @@ -247,7 +262,17 @@ make %{?_smp_mflags} check || { %{_mandir}/man1/nbdfuse.1* +%files bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/nbdfuse +%{_datadir}/bash-completion/completions/nbdsh + + %changelog +* Tue Mar 10 2020 Richard W.M. Jones - 1.3.5-1 +- New upstream development version 1.3.5. +- Add new bash-completion subpackage. + * Sat Feb 29 2020 Richard W.M. Jones - 1.3.4-1 - New upstream development version 1.3.4. diff --git a/sources b/sources index 547085c..0b9bc05 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libnbd-1.3.4.tar.gz) = 017096c0de34815a519fcd2026ee85c35fda75283c5638a33d48ff96ee8976baa531e32421ed01e5d250e5011f15faef09c7a52c36ec9b42fe1dfe78ef1ace0a -SHA512 (libnbd-1.3.4.tar.gz.sig) = f4022fd644287b2e6df9d5d2a9bbc50c0b8ac905a12ac825594d440ed4292ff0964e343002f042e02822649850335ae931b7515e71dce38c15199a51389c2535 +SHA512 (libnbd-1.3.5.tar.gz) = bd21e7673504a154beb44aab0d2e8b6bd325d5cb1a0f5575c5ee3e100f4539c0b32befab38514a0dfb304dc0245d885a145e8a89a9b3beffd362fee2a0bc77f2 +SHA512 (libnbd-1.3.5.tar.gz.sig) = 6718150401ea748c1575153a1c7e976cb726e5a8071f7b4553af81d42ef18ce37229005cde1c2ec04726a7b422b0cad6dc55b9fc87c85bc5284de2af7a3c9831