Blame python-fmn-consumer.spec

affcd67
%global modname fmn.consumer
affcd67
affcd67
%if 0%{?rhel} && 0%{?rhel} <= 6
affcd67
%{!?__python2:        %global __python2 %{__python}}
affcd67
%{!?python2_sitelib:  %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
affcd67
%{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
affcd67
%endif
affcd67
affcd67
Name:               python-fmn-consumer
c0dd2b8
Version:            0.2.6
ec8c562
Release:            1%{?dist}
affcd67
Summary:            Backend worker daemon for Fedora Notifications
affcd67
affcd67
Group:              Development/Libraries
affcd67
License:            LGPLv2+
affcd67
URL:                http://pypi.python.org/pypi/fmn.consumer
affcd67
Source0:            http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
affcd67
affcd67
BuildArch:          noarch
affcd67
affcd67
BuildRequires:      python2-devel
affcd67
BuildRequires:      python-setuptools
affcd67
BuildRequires:      python-nose
affcd67
affcd67
BuildRequires:      fedmsg
7072997
BuildRequires:      python-twisted-words
affcd67
BuildRequires:      python-fmn-lib
affcd67
BuildRequires:      python-requests
743aa51
BuildRequires:      python-arrow
affcd67
affcd67
Requires:           fedmsg
7072997
Requires:           python-twisted-words
affcd67
Requires:           python-fmn-lib
affcd67
Requires:           python-requests
743aa51
Requires:           python-arrow
affcd67
affcd67
%description
affcd67
fmn is a family of systems to manage end-user notifications triggered by
affcd67
fedmsg, the Fedora FEDerated MESsage bus.
affcd67
affcd67
This module contains the backend worker daemon for Fedora Notifications.
affcd67
affcd67
%prep
affcd67
%setup -q -n %{modname}-%{version}
affcd67
affcd67
# Remove bundled egg-info in case it exists
affcd67
rm -rf %{modname}.egg-info
affcd67
affcd67
%build
affcd67
%{__python2} setup.py build
affcd67
affcd67
%install
affcd67
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
affcd67
affcd67
%check
affcd67
%{__python2} setup.py test
affcd67
affcd67
%files
affcd67
%doc README.rst COPYING COPYING.LESSER CHANGELOG.rst
affcd67
%{python2_sitelib}/fmn/consumer/
affcd67
%{python2_sitelib}/%{modname}-%{version}*
affcd67
affcd67
%changelog
c0dd2b8
* Wed Jul 23 2014 Ralph Bean <rbean@redhat.com> - 0.2.6-1
c0dd2b8
- Latest upstream.
c0dd2b8
ec8c562
* Wed Jun 11 2014 Ralph Bean <rbean@redhat.com> - 0.2.5-1
ec8c562
- Latest upstream.
ec8c562
- Switches caching mechanism back to user-centric.
ec8c562
- Attempts to invalidate cache more intelligently.
ec8c562
7072997
* Tue Jun 10 2014 Ralph Bean <rbean@redhat.com> - 0.2.4-2
7072997
- Require python-twisted-words.
7072997
f2734c1
* Tue Jun 10 2014 Ralph Bean <rbean@redhat.com> - 0.2.4-1
f2734c1
- Latest upstream.
743aa51
- Add dep on python-arrow.
f2734c1
4a302eb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
4a302eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4a302eb
370b718
* Thu Mar 27 2014 Ralph Bean <rbean@redhat.com> - 0.2.3-1
370b718
- Upstream release.
370b718
61219c0
* Mon Jan 27 2014 Ralph Bean <rbean@redhat.com> - 0.2.2-1
61219c0
- Upstream release with android enhancements.
61219c0
cff096f
* Thu Jan 23 2014 Ralph Bean <rbean@redhat.com> - 0.2.1-1
cff096f
- Upstream release with a cosmetic tweak.
cff096f
affcd67
* Wed Jan 22 2014 Ralph Bean <rbean@redhat.com> - 0.2.0-1
affcd67
- Upstream release
affcd67
affcd67
* Tue Dec 03 2013 Ralph Bean <rbean@redhat.com> - 0.1.3-1
affcd67
- initial package for Fedora