[python-fmn-lib] Patch summershum defaults.

Ralph Bean ralph at fedoraproject.org
Thu Jan 15 13:40:51 UTC 2015


commit 50fe6c6b01e653a8539d5aae2f047eba96272bac
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Jan 15 08:41:09 2015 -0500

    Patch summershum defaults.

 python-fmn-lib-mutual.patch |   45 +++++++++++++++++++++++++++++++++++++++++++
 python-fmn-lib.spec         |   10 ++++++++-
 2 files changed, 54 insertions(+), 1 deletions(-)
---
diff --git a/python-fmn-lib-mutual.patch b/python-fmn-lib-mutual.patch
new file mode 100644
index 0000000..d9b07dd
--- /dev/null
+++ b/python-fmn-lib-mutual.patch
@@ -0,0 +1,45 @@
+From f8100dbe5876c803f65e3b045e2944c1258778ff Mon Sep 17 00:00:00 2001
+From: Ralph Bean <rbean at redhat.com>
+Date: Thu, 15 Jan 2015 08:07:39 -0500
+Subject: [PATCH] Turns out that this needs to be in the ``mutual`` section.
+
+---
+ fmn/lib/defaults.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/fmn/lib/defaults.py b/fmn/lib/defaults.py
+index e0320b1..d1e05be 100644
+--- a/fmn/lib/defaults.py
++++ b/fmn/lib/defaults.py
+@@ -14,9 +14,6 @@ log = logging.getLogger(__name__)
+ #                     filters)
+ 
+ exclusion_packages = [
+-    # Go ahead and ignore all summershum messages by default.  @jwboyer
+-    # complained rightly https://github.com/fedora-infra/fmn/issues/27
+-    'summershum_catchall',
+ ]
+ 
+ exclusion_username = [
+@@ -73,7 +70,6 @@ exclusion_username = [
+     ## Go ahead and ignore all mailman stuff since you should be getting it by
+     ## email anyways.
+     'mailman_receive',
+-
+ ]
+ exclusion_mutual = [
+     # No need to tell me about copr starts, I just want to know about completed
+@@ -185,6 +181,10 @@ exclusion_mutual = [
+     #'compose_rawhide_rsync_complete',
+     #'compose_branched_rsync_start',
+     #'compose_rawhide_rsync_start',
++
++    # Go ahead and ignore all summershum messages by default.  @jwboyer
++    # complained rightly https://github.com/fedora-infra/fmn/issues/27
++    'summershum_catchall',
+ ]
+ 
+ 
+-- 
+2.1.0
+
diff --git a/python-fmn-lib.spec b/python-fmn-lib.spec
index 35d9c40..ffdc7fe 100644
--- a/python-fmn-lib.spec
+++ b/python-fmn-lib.spec
@@ -8,7 +8,7 @@
 
 Name:               python-fmn-lib
 Version:            0.4.3
-Release:            1%{?dist}
+Release:            2%{?dist}
 Summary:            Internal API components and model for Fedora Notifications
 
 Group:              Development/Libraries
@@ -16,6 +16,9 @@ License:            LGPLv2+
 URL:                http://pypi.python.org/pypi/fmn.lib
 Source0:            http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
 
+# https://github.com/fedora-infra/fmn.lib/pull/31
+Patch0:             python-fmn-lib-mutual.patch
+
 BuildArch:          noarch
 
 BuildRequires:      python2-devel
@@ -61,6 +64,8 @@ Notifications
 %prep
 %setup -q -n %{modname}-%{version}
 
+%patch0 -p1
+
 # Remove bundled egg-info in case it exists
 rm -rf %{modname}.egg-info
 
@@ -88,6 +93,9 @@ install createdb.py %{buildroot}%{_bindir}/fmn-createdb
 %{_bindir}/fmn-createdb
 
 %changelog
+* Thu Jan 15 2015 Ralph Bean <rbean at redhat.com> - 0.4.3-2
+- Patch summershum defaults.
+
 * Wed Jan 14 2015 Ralph Bean <rbean at redhat.com> - 0.4.3-1
 - Latest upstream.
 


More information about the scm-commits mailing list