Blob Blame History Raw
%global modname mailman3_fedmsg_plugin

Name:               mailman3-fedmsg-plugin
Version:            0.1.1
Release:            1%{?dist}
Summary:            Emit fedmsg messages from mailman3

Group:              Development/Libraries
License:            LGPLv2+
Source0:  {name}/%{name}-%{version}.tar.gz

BuildArch:          noarch

BuildRequires:      python2-devel
BuildRequires:      python-setuptools

Requires:           fedmsg

Publish notifications about mails to the fedmsg bus.

Enable this by adding the following to your mailman.cfg file::

    # The class implementing the IArchiver interface.
    class: mailman_fedmsg_plugin.Archiver
    enable: yes

You can exclude certain lists from fedmsg publication by
adding them to a 'mailman.excluded_lists' list in /etc/fedmsg.d/::

    config = {
        'mailman.excluded_lists': ['bugzilla', 'commits'],

%setup -q -n %{name}-%{version}

# Remove bundled egg-info in case it exists
rm -rf %{modname}.egg-info

%{__python} build

%{__python} install -O1 --skip-build --root=%{buildroot}


* Thu May 23 2013 Ralph Bean <> - 0.1.1-1
- Initial package for Fedora