From 8d0d164fe0bd9b33bb2c82b4aa54fc77b7a5628603415aaaee06405defe33dcc Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Fri, 14 Apr 2017 10:51:19 +0000
Subject: [PATCH 1/4] - Update to 2.6 development snapshot   - Multi-threaded
 command stream in Direct3D.   - More Shader Model 5 instructions.   - More
 support for 3D textures.   - Better font transformations in DirectWrite.   -
 Various bug fixes. - updated winetricks

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=413
---
 wine-2.5.tar.xz      |  3 --
 wine-2.5.tar.xz.sign | 16 ----------
 wine-2.6.tar.xz      |  3 ++
 wine-2.6.tar.xz.sign | 16 ++++++++++
 wine.changes         | 11 +++++++
 wine.spec            |  4 +--
 winetricks           | 75 ++++++++++++++++++++++++++++++++++++++------
 7 files changed, 98 insertions(+), 30 deletions(-)
 delete mode 100644 wine-2.5.tar.xz
 delete mode 100644 wine-2.5.tar.xz.sign
 create mode 100644 wine-2.6.tar.xz
 create mode 100644 wine-2.6.tar.xz.sign

diff --git a/wine-2.5.tar.xz b/wine-2.5.tar.xz
deleted file mode 100644
index b494386..0000000
--- a/wine-2.5.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:13f92b7ab483323aaabbc6519851e688ad4372ea30569961c831d40d6d3bccd2
-size 18993176
diff --git a/wine-2.5.tar.xz.sign b/wine-2.5.tar.xz.sign
deleted file mode 100644
index 35644c6..0000000
--- a/wine-2.5.tar.xz.sign
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCAAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAljerTIACgkQzvrI6q8X
-UZ0aaBAAlwdcLCvaT1JjR92fBHE2uVay4G6uVSABz3ltusi2IO5YbXTDvbaKo1PS
-TOeBUcq++Fpfl1YWKjcxhiH/rCA7HuEJjBKh8TdehWBUqAYo0nC2QYDEZ9ktFrpH
-SeNPuDhpzA1c5BOEOsO53WI19eD8qM+7qUGAxzSyDOXzAB47CvhTWcTUv6eVZJOr
-BVKaMf9jJbmyBZVVG4tKaotns75Y59+UnJDkKHUn0e9uDuIvZ62O9ntlTHdYbN1/
-HS/q8DntPlwUsqc7lv+1WSMnXm4e6vAOM5tVXZser+9XVY6Pl3WygsGzja+a0JIR
-tMJ02di+FLTgUd0dUIZu8y7Q1pqdN3px1pxrd8W7vD1PC4fVUNi+jfvPAFkItVwA
-bxKKFFLP7VkLxDt6OaCRVtQ4hVlVNGjA0ttD4Y5d8LcRNMzG+M+luqu/zp7eGzQT
-6OfEtYNPAP7b2c0t6pJLXcswNsMG5ADSfZupZ5H7yZs6MXKdStpnVl/C4jnDNOFF
-6yC0bpDAvZeqBBO+gm8zfZnyHnWrH2yg3mx4dAptjee9SdwoC+78jgfuJ2HiA6XL
-frKGJKz8NiBIdKWjDgFAk4Or5Ec44kNzV7ltXV2dONkcepp67cvjy7DWOrWxk394
-PF31UtMHv4aiJLUZVjEtuIGqon0su69znJD/5zS9k3NeWA1pBxk=
-=G1w2
------END PGP SIGNATURE-----
diff --git a/wine-2.6.tar.xz b/wine-2.6.tar.xz
new file mode 100644
index 0000000..b8c52ab
--- /dev/null
+++ b/wine-2.6.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e6ff64758f437647e99a36c1275e41adf54f0432907172d3bba22b070a97aac0
+size 19023352
diff --git a/wine-2.6.tar.xz.sign b/wine-2.6.tar.xz.sign
new file mode 100644
index 0000000..93667f6
--- /dev/null
+++ b/wine-2.6.tar.xz.sign
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCAAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAljvvdIACgkQzvrI6q8X
+UZ1b6A/9GCdCM2mBNOmdYphAeUq9r7UuCBj+PzgRnvQOmUF0PQQxgYI7VygYxbm5
+rXUfgqjOHW1cc/ysivQuYzq5BuZTQL51+X652iUhlc1DFW8nEqNt/uRmY+CPQj3f
+rf3WD1KW+3iJL+uOIVTJriJm8bn4aGVxP5BjaHyp8dLm02kRCPDhaTdK2kB/TSdR
+ix3HtUHrDjRnbJKicfHAhYo9FgqnA6O3iEdNGoV0Abo64MfoRLalaqP6/S/4x/wT
+u6rkNaJFP88cJ2WMDORKG2gig/sV+I1rN4uKnI5NeK7TZsKkm2pynapC0OtF49Kv
+DuTIsLiQrvXstWg5Mcayaxan6c8y1LerG/rM+SsgS531ciFh32P+BN6LJSqm+Rde
+km+K0ShBb6lBkbTydBJY0Mf/qdb1Qmz9TvImx4dv0EGrHkQwNSkgds298BxTgFEL
+AkWSJo3elSaZbJYIQ9qH042eU0XojjG40T7cZkKQgGjg65+3egz61LbCDR0S2i3G
+f/omIIBtZBuJ5hdCp3Y7+pXy3XAvuR3zqQHlDb2Ar71smJ9hik5QQt0G0IYQN8Tz
+CJKrkI2fL9T/fu0ygu6jG+9Kw9VAaOUk1VOzlqtlrtHtaMYw5aFj4hfeiyNRDVLu
+Nmz4gOtjpaQ7f8CbJEaRy0mCN0hnHsvCdvMZYxcymJ1ibFdFvp4=
+=ja76
+-----END PGP SIGNATURE-----
diff --git a/wine.changes b/wine.changes
index 69a101c..c2870aa 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Fri Apr 14 10:50:04 UTC 2017 - meissner@suse.com
+
+- Update to 2.6 development snapshot
+  - Multi-threaded command stream in Direct3D.
+  - More Shader Model 5 instructions.
+  - More support for 3D textures.
+  - Better font transformations in DirectWrite.
+  - Various bug fixes.
+- updated winetricks
+
 -------------------------------------------------------------------
 Fri Mar 31 19:34:18 UTC 2017 - meissner@suse.com
 
diff --git a/wine.spec b/wine.spec
index c1d3476..6cc5a6d 100644
--- a/wine.spec
+++ b/wine.spec
@@ -54,8 +54,8 @@ BuildRequires:  update-desktop-files
 BuildRequires:  valgrind-devel
 BuildRequires:  xorg-x11-devel
 BuildRequires:  pkgconfig(libudev)
-%define realver 2.5
-Version:        2.5
+%define realver 2.6
+Version:        2.6
 Release:        0
 Summary:        An MS Windows Emulator
 License:        LGPL-2.1+
diff --git a/winetricks b/winetricks
index 482aa7a..38831fb 100644
--- a/winetricks
+++ b/winetricks
@@ -1515,7 +1515,7 @@ fi
 # other_files
 #     Extra installer files, in one string, space-separated.
 # reader_control
-#     If set, the control id of the configuration panel checkbox controling
+#     If set, the control id of the configuration panel checkbox controlling
 #     Adobe Reader installation.
 #     Some games don't have it, some games do with different ids.
 # run_command
@@ -3032,9 +3032,9 @@ winetricks_prefixmenu()
          ;;
     de*) _W_msg_title="Winetricks - wineprefix auswählen"
          _W_msg_body='Was möchten Sie tun?'
-         _W_msg_apps='Eine Programm installieren'
+         _W_msg_apps='Ein Programm installieren'
          _W_msg_games='Ein Spiel installieren'
-         _W_msg_benchmarks='Ein Benchmark installieren'
+         _W_msg_benchmarks='Einen Benchmark-Test installieren'
          _W_msg_default="Standard wineprefix auswählen"
          _W_msg_unattended0="Automatische Installation deaktivieren"
          _W_msg_unattended1="Automatische Installation aktivieren"
@@ -3716,7 +3716,7 @@ winetricks_showmenu()
     unset _W_msg_body _W_msg_title
 }
 
-# Converts a metadata abolute path to its app code
+# Converts a metadata absolute path to its app code
 winetricks_metadata_basename()
 {
     # Classic, but too slow on cygwin
@@ -4524,9 +4524,12 @@ winetricks_set_wineprefix()
         ;;
     esac
 
-    # FIXME: wrong on 64-bit Windows for now
     W_COMMONFILES_X86_WIN="$(w_expand_env CommonProgramFiles)"
 
+    # CommonProgramW6432 is only defined on win64, not win32 arches
+    W_COMMONFILES_WIN="$(w_expand_env CommonProgramW6432)"
+    W_COMMONFILES_WIN="${W_COMMONFILES_WIN:-$W_COMMONFILES_X86_WIN}"
+
     W_WINDIR_UNIX="$W_DRIVE_C/windows"
 
     # FIXME: move that tr into w_pathconv, if it's still needed?
@@ -4573,7 +4576,7 @@ winetricks_set_wineprefix()
         # shellcheck disable=SC2034
         W_SYSTEM64_DLLS_WIN64="C:\\windows\\system32"  # path to access 64-bit dlls from 64-bit apps
         # 64-bit prefixes still have plenty of issues:
-        w_warn "You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug."
+        w_warn "You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages.  If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug."
     else
         W_ARCH=win32
         W_SYSTEM32_DLLS="$W_WINDIR_UNIX/system32"
@@ -4975,7 +4978,9 @@ winetricks_install_app()
 #----------------------------------------------------------------
 
 #----- common download for several verbs
+# Note: please put a file list $(cabextract -l $foo) / $(unzip -l $foo) at ./misc/filelists/${helper}.txt
 
+# Filelist at ./misc/filelists/directx-feb2010.txt
 helper_directx_dl()
 {
     # February 2010 DirectX 9c User Redistributable
@@ -4987,6 +4992,7 @@ helper_directx_dl()
     DIRECTX_NAME=directx_feb2010_redist.exe
 }
 
+# Filelist at ./misc/filelists/directx-jun2010.txt
 helper_directx_Jun2010()
 {
     # June 2010 DirectX 9c User Redistributable
@@ -4996,6 +5002,7 @@ helper_directx_Jun2010()
     DIRECTX_NAME=directx_Jun2010_redist.exe
 }
 
+# Filelist at ./misc/filelists/directx-feb2010.txt
 helper_d3dx9_xx()
 {
     dllname=d3dx9_$1
@@ -5020,6 +5027,7 @@ helper_d3dx9_xx()
     w_override_dlls native "$dllname"
 }
 
+# Filelist at ./misc/filelists/win2ksp4.txt
 helper_win2ksp4()
 {
     filename=$1
@@ -5029,6 +5037,7 @@ helper_win2ksp4()
     w_try_cabextract -d "$W_TMP" -L -F "$filename" "$W_CACHE"/win2ksp4/W2KSP4_EN.EXE
 }
 
+# Filelist at ./misc/filelists/winxpsp3.txt
 helper_winxpsp3()
 {
     filename=$1
@@ -5046,6 +5055,7 @@ helper_winxpsp3()
     w_try_cabextract -d "$W_TMP" -L -F "$filename" "$W_CACHE"/winxpsp3/WindowsXP-KB936929-SP3-x86-ENU.exe
 }
 
+# Filelist at ./misc/filelists/win7sp1.txt
 helper_win7sp1()
 {
     filename=$1
@@ -5056,6 +5066,17 @@ helper_win7sp1()
     w_try_cabextract -d "$W_TMP" -L -F "$filename" "$W_CACHE"/win7sp1/windows6.1-KB976932-X86.exe
 }
 
+# Filelist at ./misc/filelists/win7sp1_x64.txt
+helper_win7sp1_x64()
+{
+    filename=$1
+
+    # https://www.microsoft.com/en-us/download/details.aspx?id=5842
+    w_download_to win7sp1 https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe f4d1d418d91b1619688a482680ee032ffd2b65e420c6d2eaecf8aa3762aa64c8
+
+    w_try_cabextract -d "$W_TMP" -L -F "$filename" "$W_CACHE"/win7sp1/windows6.1-KB976932-X64.exe
+}
+
 #---------------------------------------------------------
 
 w_metadata adobeair dlls \
@@ -6998,6 +7019,12 @@ load_esent()
     helper_win7sp1 x86_microsoft-windows-e..estorageengine-isam_31bf3856ad364e35_6.1.7601.17514_none_f3ebb0cc8a4dd814/esent.dll
     w_try cp "$W_TMP/x86_microsoft-windows-e..estorageengine-isam_31bf3856ad364e35_6.1.7601.17514_none_f3ebb0cc8a4dd814/esent.dll" "$W_SYSTEM32_DLLS/esent.dll"
 
+    if [ "$W_ARCH" = "win64" ]
+    then
+        helper_win7sp1_x64 amd64_microsoft-windows-e..estorageengine-isam_31bf3856ad364e35_6.1.7601.17514_none_500a4c5042ab494a/esent.dll
+        w_try cp "$W_TMP/amd64_microsoft-windows-e..estorageengine-isam_31bf3856ad364e35_6.1.7601.17514_none_500a4c5042ab494a/esent.dll" "$W_SYSTEM64_DLLS/esent.dll"
+    fi
+
     w_override_dlls native,builtin esent
 }
 
@@ -7086,6 +7113,12 @@ load_gdiplus()
     helper_win7sp1 x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll
     w_try cp "$W_TMP/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll" "$W_SYSTEM32_DLLS/gdiplus.dll"
 
+    if [ "$W_ARCH" = "win64" ]
+    then
+        helper_win7sp1_x64 amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll
+        w_try cp "$W_TMP/amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll" "$W_SYSTEM64_DLLS/gdiplus.dll"
+    fi
+
     # For some reason, native, builtin isn't good enough...?
     w_override_dlls native gdiplus
 }
@@ -7370,20 +7403,27 @@ w_metadata jet40 dlls \
     year="2003" \
     media="download" \
     file1="jet40sp8_9xnt.exe" \
-    installed_file1="$W_COMMONFILES_X86_WIN/Microsoft Shared/dao/dao360.dll"
+    installed_file1="$W_COMMONFILES_WIN/Microsoft Shared/dao/dao360.dll"
 
 load_jet40()
 {
     w_call mdac27
     w_call wsh57
+
     # https://support.microsoft.com/kb/239114
     # See also https://bugs.winehq.org/show_bug.cgi?id=6085
     # FIXME: "failed with error 2"
     w_download https://download.microsoft.com/download/4/3/9/4393c9ac-e69e-458d-9f6d-2fe191c51469/jet40sp8_9xnt.exe b060246cd499085a31f15873689d5fa7df817e407c8261a5c71fa6b9f7042560
+
     w_try_cd "$W_CACHE/$W_PACKAGE"
     w_try "$WINE" jet40sp8_9xnt.exe $W_UNATTENDED_SLASH_Q
 }
 
+# FIXME: verify_jet40()
+# See https://github.com/Winetricks/winetricks/issues/327,
+# https://en.wikibooks.org/wiki/JET_Database/Creating_and_connecting, and
+# https://msdn.microsoft.com/en-us/library/ms677200%28v=vs.85%29.aspx
+
 #----------------------------------------------------------------
 
 w_metadata ie8_kb2936068 dlls \
@@ -7629,6 +7669,12 @@ load_mf()
     helper_win7sp1 x86_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_9e6699276b03c38e/mf.dll
     w_try cp "$W_TMP/x86_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_9e6699276b03c38e/mf.dll" "$W_SYSTEM32_DLLS/mf.dll"
 
+    if [ "$W_ARCH" = "win64" ]
+    then
+        helper_win7sp1_x64 amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4/mf.dll
+        w_try cp "$W_TMP/amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4/mf.dll" "$W_SYSTEM64_DLLS/mf.dll"
+    fi
+
     w_override_dlls native,builtin mf
 }
 
@@ -7884,6 +7930,12 @@ load_msftedit()
     helper_win7sp1 x86_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.17514_none_d7d862f19573a5ff/msftedit.dll
     w_try cp "$W_TMP/x86_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.17514_none_d7d862f19573a5ff/msftedit.dll" "$W_SYSTEM32_DLLS/msftedit.dll"
 
+    if [ "$W_ARCH" = "win64" ]
+    then
+        helper_win7sp1_x64 amd64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.17514_none_33f6fe754dd11735/msftedit.dll
+        w_try cp "$W_TMP/amd64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.17514_none_33f6fe754dd11735/msftedit.dll" "$W_SYSTEM64_DLLS/msftedit.dll"
+    fi
+
     w_override_dlls native,builtin mstfedit
 }
 
@@ -8157,8 +8209,7 @@ w_metadata physx dlls \
 
 load_physx()
 {
-    # Has a minor issue, see bug report https://bugs.winehq.org/show_bug.cgi?id=34167
-    w_download https://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi 0a022e28accf5851be9d6577487cdcd3d3a3e2a8a21a64456b72b415c217f03c
+    w_download http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi 0a022e28accf5851be9d6577487cdcd3d3a3e2a8a21a64456b72b415c217f03c
     w_try_cd "$W_CACHE/$W_PACKAGE"
     w_try "$WINE" msiexec /i PhysX-9.14.0702-SystemSoftware.msi $W_UNATTENDED_SLASH_Q
 }
@@ -9412,6 +9463,12 @@ load_xmllite()
     helper_win7sp1 x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17514_none_0b66cb34258c936f/xmllite.dll
     w_try cp "$W_TMP/x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17514_none_0b66cb34258c936f/xmllite.dll" "$W_SYSTEM32_DLLS/xmllite.dll"
 
+    if [ "$W_ARCH" = "win64" ]
+    then
+        helper_win7sp1_x64 amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17514_none_678566b7ddea04a5/xmllite.dll "$W_SYSTEM64_DLLS/xmllite.dll"
+        w_try cp "$W_TMP/amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17514_none_678566b7ddea04a5/xmllite.dll" "$W_SYSTEM64_DLLS/xmllite.dll"
+    fi
+
     w_override_dlls native,builtin xmllite
 }
 

From eae0f01e265ad3b1dd95a3925e789dbfa8ec955edd16c124335da5eba68ded2d Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Wed, 19 Apr 2017 07:56:10 +0000
Subject: [PATCH 2/4] - Enable mp3 support.

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=414
---
 wine.changes | 5 +++++
 wine.spec    | 1 +
 2 files changed, 6 insertions(+)

diff --git a/wine.changes b/wine.changes
index c2870aa..4f2b997 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Apr 19 07:55:57 UTC 2017 - meissner@suse.com
+
+- Enable mp3 support.
+
 -------------------------------------------------------------------
 Fri Apr 14 10:50:04 UTC 2017 - meissner@suse.com
 
diff --git a/wine.spec b/wine.spec
index 6cc5a6d..92fdfb2 100644
--- a/wine.spec
+++ b/wine.spec
@@ -37,6 +37,7 @@ BuildRequires:  libgphoto2-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
+BuildRequires:  libmpg123-devel
 BuildRequires:  libpcap-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libpulse-devel

From 93e5304495ae41b6973e761c417f40277440a355c307a291ce5af57e4a90678a Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Wed, 19 Apr 2017 07:57:40 +0000
Subject: [PATCH 3/4] - Enable mp3 support (buildrequire mpg123-devel)

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=415
---
 wine.changes | 2 +-
 wine.spec    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wine.changes b/wine.changes
index 4f2b997..56f2107 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,7 +1,7 @@
 -------------------------------------------------------------------
 Wed Apr 19 07:55:57 UTC 2017 - meissner@suse.com
 
-- Enable mp3 support.
+- Enable mp3 support (buildrequire mpg123-devel)
 
 -------------------------------------------------------------------
 Fri Apr 14 10:50:04 UTC 2017 - meissner@suse.com
diff --git a/wine.spec b/wine.spec
index 92fdfb2..68895c0 100644
--- a/wine.spec
+++ b/wine.spec
@@ -37,7 +37,6 @@ BuildRequires:  libgphoto2-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
-BuildRequires:  libmpg123-devel
 BuildRequires:  libpcap-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libpulse-devel
@@ -45,6 +44,7 @@ BuildRequires:  libtiff-devel
 BuildRequires:  libv4l-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
+BuildRequires:  mpg123-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  openal-soft-devel
 BuildRequires:  openldap2-devel

From 9876f43b79aed30c08cec9b634af03ff3aae8e1f28ea5e14829939c61ed612dd Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Fri, 21 Apr 2017 07:41:52 +0000
Subject: [PATCH 4/4] OBS-URL:
 https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=416

---
 wine.spec | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wine.spec b/wine.spec
index 68895c0..ce4bd36 100644
--- a/wine.spec
+++ b/wine.spec
@@ -44,7 +44,9 @@ BuildRequires:  libtiff-devel
 BuildRequires:  libv4l-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
+%if 0%{?suse_version} >= 1330
 BuildRequires:  mpg123-devel
+%endif
 BuildRequires:  ncurses-devel
 BuildRequires:  openal-soft-devel
 BuildRequires:  openldap2-devel