[Spice-devel] [vdagent-win PATCH v2] spec: Add missing mingwXX-winpthreads-static dependency

Frediano Ziglio fziglio at redhat.com
Tue May 23 13:04:08 UTC 2017


Without this dependency mock builds fails to build.
Tried Fedora 25, Fedora 26 and Rawhide (all x86-64) and all
mock builds are failing with "cannot find -lpthread" error.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 mingw-spice-vdagent.spec.in | 2 ++
 1 file changed, 2 insertions(+)

Changes since v1:
- checked on more mock configurations;
- put failing configuration in comment;
- put error from build in comment.

diff --git a/mingw-spice-vdagent.spec.in b/mingw-spice-vdagent.spec.in
index d1bcf70..d3ac53a 100644
--- a/mingw-spice-vdagent.spec.in
+++ b/mingw-spice-vdagent.spec.in
@@ -25,6 +25,8 @@ BuildRequires:  mingw32-libtiff-static
 BuildRequires:  mingw64-libtiff-static
 BuildRequires:  mingw32-zlib-static
 BuildRequires:  mingw64-zlib-static
+BuildRequires:  mingw32-winpthreads-static
+BuildRequires:  mingw64-winpthreads-static
 BuildRequires:  pkgconfig
 
 BuildArch:      noarch
-- 
2.9.4



More information about the Spice-devel mailing list