Blame SOURCES/wireshark-1.6.0-soname.patch

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