From 684d7ebd379231698a3540e18369b81451c4db706b9d033c43a998322256c09c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 29 Nov 2018 13:56:04 +0000 Subject: [PATCH] - require Mesa-libd3d and Mesa-libd3d-32bit for the "nine" flavors (bsc#1112026) OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=563 --- wine.changes | 6 ++++++ wine.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/wine.changes b/wine.changes index fb8a257..815b13d 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 29 13:55:38 UTC 2018 - meissner@suse.com + +- require Mesa-libd3d and Mesa-libd3d-32bit for the "nine" + flavors (bsc#1112026) + ------------------------------------------------------------------- Sat Nov 24 08:19:07 UTC 2018 - meissner@suse.com diff --git a/wine.spec b/wine.spec index 0bc05a0..e073dc0 100644 --- a/wine.spec +++ b/wine.spec @@ -156,6 +156,7 @@ BuildRequires: libva-devel # upstream patch target version %define nine_version 3.20 BuildRequires: Mesa-libd3d-devel +Requires: Mesa-libd3d BuildRequires: libOSMesa-devel BuildRequires: pkgconfig(dri2proto) Source110: wine-d3d9-patches-%{nine_version}.tar.xz @@ -279,6 +280,9 @@ echo " recommends \"wine-mp3-32bit\"" >> %SOURCE7 %if 0%{?suse_version} >= 1310 echo " requires \"p11-kit-32bit\"" >> %SOURCE7 %endif +%if %{nine} +echo " requires \"Mesa-libd3d-32bit\"" >> %SOURCE7 +%endif %if "%{flavor}" != "" echo " provides \"wine- = \"" >> %SOURCE7 %endif