From db6090551f48a07d60633605e1d3b4e930f9eca1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 2 Sep 2022 10:07:26 +0100 Subject: [PATCH] New upstream development version 1.15.2 New tool: nbdublk --- libnbd.spec | 29 ++++++++++++++++++++++++++++- sources | 4 ++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/libnbd.spec b/libnbd.spec index 64ed2f8..52b55fd 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -11,7 +11,7 @@ %global source_directory 1.15-development Name: libnbd -Version: 1.15.1 +Version: 1.15.2 Release: 1%{?dist} Summary: NBD client library in userspace @@ -46,6 +46,10 @@ BuildRequires: libxml2-devel # For nbdfuse. BuildRequires: fuse3, fuse3-devel +# For nbdublk +BuildRequires: liburing-devel >= 2.2 +BuildRequires: ubdsrv-devel >= 0.1-3 + # For the Python 3 bindings. BuildRequires: python3-devel @@ -164,6 +168,19 @@ Recommends: fuse3 This package contains FUSE support for %{name}. +%package -n nbdublk +Summary: Userspace NBD block device +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{version}-%{release} +Recommends: kernel >= 6.0.0 +Recommends: %{_sbindir}/ublk + + +%description -n nbdublk +This package contains a userspace NBD block device +based on %{name}. + + %package bash-completion Summary: Bash tab-completion for %{name} BuildArch: noarch @@ -313,6 +330,11 @@ make %{?_smp_mflags} check || { %{_mandir}/man1/nbdfuse.1* +%files -n nbdublk +%{_bindir}/nbdublk +%{_mandir}/man1/nbdublk.1* + + %files bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/nbdcopy @@ -320,9 +342,14 @@ make %{?_smp_mflags} check || { %{_datadir}/bash-completion/completions/nbdfuse %{_datadir}/bash-completion/completions/nbdinfo %{_datadir}/bash-completion/completions/nbdsh +%{_datadir}/bash-completion/completions/nbdublk %changelog +* Fri Sep 02 2022 Richard W.M. Jones - 1.15.2-1 +- New upstream development version 1.15.2 +- New tool: nbdublk + * Thu Aug 18 2022 Richard W.M. Jones - 1.15.1-1 - New upstream development version 1.15.1 diff --git a/sources b/sources index 4b4135d..fb76c97 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libnbd-1.15.1.tar.gz) = a848ce5f2239d7adc328246f8be20dbc1595ce1269ae296879d6301603ff2b1654d9014014004cb45d82635e8445fe314cfb433afc02dd8495ee0bfbdad3d051 -SHA512 (libnbd-1.15.1.tar.gz.sig) = a4b1befc410807beaef7b371f4aa891af0261ce45c874d547774f372efd298c8890134b09907f26d2cf7bb85c2f8e8142b23f8a0b208096235044e48e212ddd7 +SHA512 (libnbd-1.15.2.tar.gz) = 519f12f3c234a7e09075edfac762acfc789641822b42cd2e5cc58e9b4552f48e33d4a2e9ec15ae15f40be96619217b6331091f16516f677850fb3e9ef7187c49 +SHA512 (libnbd-1.15.2.tar.gz.sig) = 5fb6032d646ca24abfffac9816e68986dfa418efdc8e25b5df0235454511620a8125651db5c79656e4273adf1e61dd4c337eff70a867eef1e30e97189ff5c495