Split out nbdkit-nbd-plugin subpackage.
Since nbdkit 1.14, nbdkit-nbd-plugin now depends on libnbd. Therefore it shouldn't go into the basic plugins package (which is supposed to have minimal dependencies), but should be placed in its own package.
This commit is contained in:
parent
07b855797c
commit
9cc5bdb701
29
nbdkit.spec
29
nbdkit.spec
@ -28,7 +28,7 @@
|
||||
|
||||
Name: nbdkit
|
||||
Version: 1.14.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: NBD server
|
||||
|
||||
License: BSD
|
||||
@ -153,7 +153,6 @@ Provides: %{name}-file-plugin = %{version}-%{release}
|
||||
Provides: %{name}-floppy-plugin = %{version}-%{release}
|
||||
Provides: %{name}-full-plugin = %{version}-%{release}
|
||||
Provides: %{name}-memory-plugin = %{version}-%{release}
|
||||
Provides: %{name}-nbd-plugin = %{version}-%{release}
|
||||
Provides: %{name}-null-plugin = %{version}-%{release}
|
||||
Provides: %{name}-pattern-plugin = %{version}-%{release}
|
||||
Provides: %{name}-partitioning-plugin = %{version}-%{release}
|
||||
@ -178,8 +177,6 @@ nbdkit-full-plugin A virtual disk that returns ENOSPC errors.
|
||||
|
||||
nbdkit-memory-plugin A virtual memory plugin.
|
||||
|
||||
nbdkit-nbd-plugin An NBD forwarding plugin.
|
||||
|
||||
nbdkit-null-plugin A null (bitbucket) plugin.
|
||||
|
||||
nbdkit-pattern-plugin Fixed test pattern.
|
||||
@ -309,6 +306,18 @@ Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
||||
This package lets you write Lua plugins for %{name}.
|
||||
|
||||
|
||||
%package nbd-plugin
|
||||
Summary: NBD passthrough plugin for %{name}
|
||||
License: BSD
|
||||
|
||||
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description nbd-plugin
|
||||
This package lets you forward NBD connections from %{name}
|
||||
to another NBD server.
|
||||
|
||||
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
%package ocaml-plugin
|
||||
Summary: OCaml plugin for %{name}
|
||||
@ -648,7 +657,6 @@ make %{?_smp_mflags} check || {
|
||||
%{_libdir}/%{name}/plugins/nbdkit-floppy-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-full-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-memory-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-nbd-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-partitioning-plugin.so
|
||||
%{_libdir}/%{name}/plugins/nbdkit-pattern-plugin.so
|
||||
@ -662,7 +670,6 @@ make %{?_smp_mflags} check || {
|
||||
%{_mandir}/man1/nbdkit-floppy-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-full-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-memory-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-nbd-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-null-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-partitioning-plugin.1*
|
||||
%{_mandir}/man1/nbdkit-pattern-plugin.1*
|
||||
@ -741,6 +748,13 @@ make %{?_smp_mflags} check || {
|
||||
%{_mandir}/man3/nbdkit-lua-plugin.3*
|
||||
|
||||
|
||||
%files nbd-plugin
|
||||
%doc README
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}/plugins/nbdkit-nbd-plugin.so
|
||||
%{_mandir}/man3/nbdkit-nbd-plugin.1*
|
||||
|
||||
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
%files ocaml-plugin
|
||||
%doc README
|
||||
@ -881,6 +895,9 @@ make %{?_smp_mflags} check || {
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 29 2019 Richard W.M. Jones <rjones@redhat.com> - 1.14.0-2
|
||||
- Split out nbdkit-nbd-plugin subpackage.
|
||||
|
||||
* Wed Aug 28 2019 Richard W.M. Jones <rjones@redhat.com> - 1.14.0-1
|
||||
- New upstream version 1.14.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user