Blame SOURCES/wireshark-1.6.0-soname.patch

ead5f6
Load correct shared object name in python.
ead5f6
This fixes following error message shown by wireshark/tshark when wireshark-devel
ead5f6
was not installed:
ead5f6
   libwireshark.so: cannot open shared object file: No such file or directory
ead5f6
ead5f6
diff -up wireshark-1.6.0/epan/wspython/wspy_libws.py.soname wireshark-1.6.0/epan/wspython/wspy_libws.py
ead5f6
--- wireshark-1.6.0/epan/wspython/wspy_libws.py.soname	2011-06-09 14:40:04.562726728 +0200
ead5f6
+++ wireshark-1.6.0/epan/wspython/wspy_libws.py	2011-06-09 14:40:09.775467946 +0200
ead5f6
@@ -35,7 +35,7 @@ def get_libws_libname():
ead5f6
   elif system == "Windows":
ead5f6
     return 'libwireshark.dll'
ead5f6
   else:
ead5f6
-    return 'libwireshark.so'
ead5f6
+    return 'libwireshark.so.2'
ead5f6
 
ead5f6
 def get_libws_handle():
ead5f6
   global __libwireshark