Re: [spice-streaming-agent 7/7] spec: Add missing Requires for the -devel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/2017 01:51 PM, Christophe Fergeau wrote:
It needs the corresponding library to be installed, as well as
pkg-config since it installs a .pc file.
---
Since the plugins are going to be dlopened, and since the main package
does not ship a .so we need to link to, I'm unsure about the first
Requires this patch adds.

I'm unsure about the second either.

The -devel package provides a .pc file.
Anyone that wants to use it should install pkg-config.
It (pkg-config) would probably be a BuildRequired in the
package that BuildRequires this -devel package

Uri.


Christophe


  spice-streaming-agent.spec.in | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/spice-streaming-agent.spec.in b/spice-streaming-agent.spec.in
index 8c4f26e..351de11 100644
--- a/spice-streaming-agent.spec.in
+++ b/spice-streaming-agent.spec.in
@@ -20,6 +20,8 @@ An agent, running on a guest, sending video streams of the X display to a remote
%package devel
  Requires: spice-protocol >= @SPICE_PROTOCOL_MIN_VER@
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: pkgconfig
  Summary:  SPICE streaming agent development files
%description devel


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]