Changed files:
emesene.spec -> 1.7
plugins-pyc.patch -> 1.1
Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 1.6
-Release: 0.15
+Release: 0.16
License: GPL v2+
Group: Applications/Networking
URL: http://www.emesene.org/
# Source0-md5: ea4d3f4097265daac6823d8288979d02
Patch0: %{name}-desktop.patch
Patch1: setup-install.patch
+Patch2: plugins-pyc.patch
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: rpmbuild(macros) >= 1.219
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
cat <<'EOF' > emesene.sh
#!/bin/sh
--- /dev/null
+--- emesene-1.6/PluginManager.py~ 2009-12-24 14:55:03.000000000 +0200
++++ emesene-1.6/PluginManager.py 2010-03-21 13:11:23.769597184 +0200
+@@ -92,8 +92,8 @@
+ path = path + paths.DIR_SEP + package
+
+ modules = [ x.split( '.' )[ 0 ] for x in os.listdir( path ) \
+- if x.endswith( '.py' ) and not x.startswith( '_' ) \
+- and x != 'Plugin.py' ]
++ if (x.endswith( '.py' ) or x.endswith ('.pyc')) and not x.startswith( '_' ) \
++ and x != 'Plugin.py' and x != 'Plugin.pyc' ]
+ plugins = {}
+ plugins = plugins.fromkeys( modules )
+