From 5b2375846f66a838de2a0755e4ce960b55e57b48edf9d44263307341424a5075 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 31 Aug 2011 13:26:39 +0000 Subject: [PATCH] gnutls multi version OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=102 --- wine.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wine.spec b/wine.spec index 9e370b8..6c63f9f 100644 --- a/wine.spec +++ b/wine.spec @@ -85,7 +85,12 @@ Group: System/Emulators/PC # requires either 32bit or 64bit wine Requires: wine = %version # lib dependencies that are dynamically loaded -Requires: libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libxslt.so.1 libncurses.so.6 libfreetype.so.6 libcrypto.so.1.0.0 libssl.so.1.0.0 libfontconfig.so.1 libcups.so.2 libgnutls.so.28 libpng14.so.14 +Requires: libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libxslt.so.1 libncurses.so.6 libfreetype.so.6 libcrypto.so.1.0.0 libssl.so.1.0.0 libfontconfig.so.1 libcups.so.2 libpng14.so.14 +%if 0%{?suse_version} < 1210 +Requires: libgnutls.so.26 +%else +Requires: libgnutls.so.28 +%endif %description 32bit This package contains the 32bit runtime environmnent (libraries, DLLs, EXEs) of Wine. @@ -129,7 +134,7 @@ autoheader -I include cat config.log grep "have_x=yes" config.log || exit 1 -make %{?jobs:-j%jobs} depend +grep SONAME_ config.status make %{?jobs:-j%jobs} all %install