[python-fmn-rules] Initial import (#1037821)

Ralph Bean ralph at fedoraproject.org
Thu Dec 5 16:48:29 UTC 2013


commit 47fdfa42d8289651ebad289ab170e37b2c0634e3
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Dec 5 11:48:19 2013 -0500

    Initial import (#1037821)

 .gitignore            |    1 +
 python-fmn-rules.spec |   62 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5fc0f59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fmn.rules-0.1.3.tar.gz
diff --git a/python-fmn-rules.spec b/python-fmn-rules.spec
new file mode 100644
index 0000000..e6a9128
--- /dev/null
+++ b/python-fmn-rules.spec
@@ -0,0 +1,62 @@
+%global modname fmn.rules
+
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2:        %global __python2 %{__python}}
+%{!?python2_sitelib:  %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+Name:               python-fmn-rules
+Version:            0.1.3
+Release:            1%{?dist}
+Summary:            Message processing rules for Fedora Notifications
+
+Group:              Development/Libraries
+License:            LGPLv2+
+URL:                http://pypi.python.org/pypi/fmn.rules
+Source0:            http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch:          noarch
+
+BuildRequires:      python2-devel
+BuildRequires:      fedmsg
+BuildRequires:      python-fedmsg-meta-fedora-infrastructure
+BuildRequires:      python-fedora
+BuildRequires:      python-nose
+
+Requires:           fedmsg
+Requires:           python-fedmsg-meta-fedora-infrastructure
+Requires:           python-fedora
+
+%description
+fmn is a family of systems to manage end-user notifications triggered by
+fedmsg, the Fedora FEDerated MESsage bus.
+
+This module contains the set of "rules" fmn uses to process messages.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{modname}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%check
+%{__python2} setup.py test
+
+%files
+%doc README.rst COPYING COPYING.LESSER CHANGELOG.rst
+%{python2_sitelib}/fmn/
+%{python2_sitelib}/%{modname}-%{version}*
+
+%changelog
+* Tue Dec 03 2013 Ralph Bean <rbean at redhat.com> - 0.1.3-1
+- Upstream release.
+
+* Tue Dec 03 2013 Ralph Bean <rbean at redhat.com> - 0.1.2-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..2411c02 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+072666e6a0acb8a6021fe87f83991beb  fmn.rules-0.1.3.tar.gz


More information about the scm-commits mailing list