Revert "Remove Requires nbdkit-devel -> nbdkit-server."

This change, while strictly correct, wasn't a particularly good idea.

While it would be possible in theory to build plugins without having
the server around, almost any reasonable build system might then try
to test them against the server.  But plugins are not compatible with
servers compiled with a different pointer size (eg. i686 plugin with
x86-64 server).

So it's best to pull in the matching server with the devel package.

The downside to this is that you cannot install nbdkit-devel.i686 and
nbdkit-devel.x86_64 together.

This reverts commit 495abe826e.
This commit is contained in:
Richard W.M. Jones 2019-08-21 12:57:56 +01:00
parent 495abe826e
commit c2efe7d099
1 changed files with 1 additions and 3 deletions

View File

@ -513,6 +513,7 @@ This package is the xz filter for %{name}.
Summary: Development files and documentation for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: pkgconfig
@ -875,9 +876,6 @@ make %{?_smp_mflags} check || {
%changelog
* Wed Aug 21 2019 Richard W.M. Jones <rjones@redhat.com> - 1.13.8-7
- Add provides for all basic plugins and filters.
- Remove Requires nbdkit-devel -> nbdkit-server.
Still possible to build plugins without needing the server to run
them, eg. when building for multilib.
* Tue Aug 20 2019 Richard W.M. Jones <rjones@redhat.com> - 1.13.8-5
- BR libnbd 0.9.8.