Blob Blame History Raw
%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.9.1
Release:            2%{?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
BuildRequires:      python-dogpile-cache

Requires:           fedmsg
Requires:           python-fedmsg-meta-fedora-infrastructure
Requires:           python-fedora
Requires:           python-dogpile-cache

%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
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Fri Sep 09 2016 Sayan Chowdhury <sayanchowdhury@fedoraproject.org> - 0.9.1-1
- Update to 0.9.1

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Fri Jul 15 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-1
- Update to 0.9.0

* Wed Mar 02 2016 Ralph Bean <rbean@redhat.com> - 0.8.1-1
- new version

* Wed Feb 17 2016 Ralph Bean <rbean@redhat.com> - 0.8.0-1
- new version

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Jan 13 2016 Ralph Bean <rbean@redhat.com> - 0.7.5-1
- new version

* Mon Nov 16 2015 Ralph Bean <rbean@redhat.com> - 0.7.4-1
- new version

* Thu Aug 27 2015 Ralph Bean <rbean@redhat.com> - 0.7.3-1
- new version

* Thu Aug 27 2015 Ralph Bean <rbean@redhat.com> - 0.7.2-1
- new version

* Thu Aug 27 2015 Ralph Bean <rbean@redhat.com> - 0.7.1-1
- new version

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Thu Jun 11 2015 Ralph Bean <rbean@redhat.com> - 0.7.0-1
- new version

* Fri May 08 2015 Ralph Bean <rbean@redhat.com> - 0.6.2-1
- new version

* Tue May 05 2015 Ralph Bean <rbean@redhat.com> - 0.6.1-1
- new version

* Sun May 03 2015 Ralph Bean <rbean@redhat.com> - 0.6.0-1
- new version

* Thu Mar 26 2015 Ralph Bean <rbean@redhat.com> - 0.5.1-1
- new version

* Tue Mar 24 2015 Ralph Bean <rbean@redhat.com> - 0.5.0-1
- new version

* Fri Feb 20 2015 Ralph Bean <rbean@redhat.com> - 0.4.7-1
- new version

* Thu Feb 12 2015 Ralph Bean <rbean@redhat.com> - 0.4.6-1
- new version

* Thu Jan 29 2015 Ralph Bean <rbean@redhat.com> - 0.4.5-1
- new version

* Fri Jan 23 2015 Ralph Bean <rbean@redhat.com> - 0.4.4-1
- Remove old patch.
- Optimize regex application.

* Wed Jan 14 2015 Ralph Bean <rbean@redhat.com> - 0.4.3-2
- Patch to fix regex matching.

* Wed Jan 14 2015 Ralph Bean <rbean@redhat.com> - 0.4.3-1
- Latest upstream.

* Mon Jan 12 2015 Ralph Bean <rbean@redhat.com> - 0.4.2-1
- Latest upstream with simpler defaults.

* Mon Jan 12 2015 Ralph Bean <rbean@redhat.com> - 0.4.1-1
- Updated descriptions.
- Datanommer hinting.
- Temporarily disabled tests due to cyclic dep with fmn.lib.

* Wed Jan 07 2015 Ralph Bean <rbean@redhat.com> - 0.4.0-1
- Latest upstream with tons of new rules from Sayan Chowdhury.

* Mon Sep 15 2014 Ralph Bean <rbean@redhat.com> - 0.3.0-1
- Latest upstream.
- Remove patch.

* Wed Jul 23 2014 Ralph Bean <rbean@redhat.com> - 0.2.5-2
- Apply patch to fix a typo in the new regex rule.

* Wed Jul 23 2014 Ralph Bean <rbean@redhat.com> - 0.2.5-1
- Latest upstream.

* Mon Jul 14 2014 Ralph Bean <rbean@redhat.com> - 0.2.4-1
- More granular COPRs rules.

* Wed Jun 11 2014 Ralph Bean <rbean@redhat.com> - 0.2.3-1
- Latest upstream.
- Switches caching mechanism back to user-centric.
- Attempts to invalidate cache more intelligently.

* Tue Jun 10 2014 Ralph Bean <rbean@redhat.com> - 0.2.2-1
- Latest upstream with fixes mostly for pkgdb2.

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Fri May 16 2014 Ralph Bean <rbean@redhat.com> - 0.2.1-1
- Package-centric caching (over user-centric caching).

* Fri May 16 2014 Ralph Bean <rbean@redhat.com> - 0.2.0-1
- Fixes for pkgdb2 support.
- Remove pkgdb1 code.

* Thu Mar 27 2014 Ralph Bean <rbean@redhat.com> - 0.1.6-1
- Add new rules with regex matching.

* Thu Jan 23 2014 Ralph Bean <rbean@redhat.com> - 0.1.5-1
- Latest upstream release adding support for scratch builds.

* Wed Jan 22 2014 Ralph Bean <rbean@redhat.com> - 0.1.4-1
- Upstream release.
- Added new dep on python-dogpile-cache.

* Tue Dec 03 2013 Ralph Bean <rbean@redhat.com> - 0.1.3-1
- Upstream release.

* Tue Dec 03 2013 Ralph Bean <rbean@redhat.com> - 0.1.2-1
- initial package for Fedora