Blame wireshark-1.6.0-soname.patch

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