[supybot-fedmsg] Patch out typo.

Ralph Bean ralph at fedoraproject.org
Wed Nov 27 01:42:32 UTC 2013


commit c5f43cea472c3d23c64b4f856b8f7e523c502ada
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Nov 26 20:42:09 2013 -0500

    Patch out typo.

 supybot-fedmsg-typofix.patch |   25 +++++++++++++++++++++++++
 supybot-fedmsg.spec          |   14 ++++++++++----
 2 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/supybot-fedmsg-typofix.patch b/supybot-fedmsg-typofix.patch
new file mode 100644
index 0000000..12bd2d9
--- /dev/null
+++ b/supybot-fedmsg-typofix.patch
@@ -0,0 +1,25 @@
+From 7fa81b82a8a1f5468297903de64848eef72c136b Mon Sep 17 00:00:00 2001
+From: Ralph Bean <rbean at redhat.com>
+Date: Tue, 26 Nov 2013 19:59:53 -0500
+Subject: [PATCH] Reference self.owner.  There is no "owner".
+
+---
+ supybot-fedmsg/plugin.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/supybot-fedmsg/plugin.py b/supybot-fedmsg/plugin.py
+index 24270c4..67321ae 100644
+--- a/supybot-fedmsg/plugin.py
++++ b/supybot-fedmsg/plugin.py
+@@ -94,7 +94,7 @@ class Injector(threading.Thread):
+                     # Include the owner of the meeting in the chairs dict just
+                     # in case they never explicitly #chair'd themselves.
+                     chairs = self.chairs
+-                    chairs[owner] = chairs.get(owner, True)
++                    chairs[self.owner] = chairs.get(self.owner, True)
+ 
+                     # Emit on "org.fedoraproject.prod.meetbot.meeting.start"
+                     fedmsg.publish(
+-- 
+1.8.4.2
+
diff --git a/supybot-fedmsg.spec b/supybot-fedmsg.spec
index d2e20a6..4b6cdf8 100644
--- a/supybot-fedmsg.spec
+++ b/supybot-fedmsg.spec
@@ -1,12 +1,14 @@
+
 Name:           supybot-fedmsg
 Version:        0.0.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Plugin for supybot that enables meetbot with fedmsg output.
 
 Group:          Applications/Internet
 License:        LGPLv2+
 URL:            http://github.com/ralphbean/supybot-fedmsg
 Source0:        http://pypi.python.org/packages/source/s/supybot-fedmsg/supybot-fedmsg-%{version}.tar.gz
+Patch0:         supybot-fedmsg-typofix.patch
 
 Requires:       fedmsg
 Requires:       supybot-meetbot
@@ -24,18 +26,22 @@ Currently supported target plugins are:
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
 %install
-install -dm 755 %{buildroot}/%{python2_sitelib}/supybot/plugins/Fedmsg
-install -pm 644 supybot-fedmsg/*.py %{buildroot}/%{python2_sitelib}/supybot/plugins/Fedmsg/.
+install -dm 755 %{buildroot}/%{python_sitelib}/supybot/plugins/Fedmsg
+install -pm 644 supybot-fedmsg/*.py %{buildroot}/%{python_sitelib}/supybot/plugins/Fedmsg/.
 
 %files
 %doc README.rst LICENSE
-%{python2_sitelib}/supybot/plugins/Fedmsg
+%{python_sitelib}/supybot/plugins/Fedmsg
 
 %changelog
+* Tue Nov 26 2013 Ralph Bean <rbean at redhat.com> - 0.0.7-2
+- Patch to fix a typo in the main portion.
+
 * Fri Oct 25 2013 Ralph Bean <rbean at redhat.com> - 0.0.7-1
 - Latest upstream
 - Protect against double-wrapping.


More information about the scm-commits mailing list