Blob Blame History Raw
%{!?pyver: %global pyver %(%{__python2} -c "import sys ; print sys.version[:3]")}

%global modname statscache_plugins


Name:           statscache-plugins
Version:        0.0.2
Release:        5%{?dist}
Summary:        Plugins for statscache daemon
Group:          Applications/Internet
License:        LGPLv2+
URL:            http://github.com/fedora-infra/statscache_plugins
Source0:        http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  python2-devel
BuildRequires:  statscache-common >= 0.0.2
BuildRequires:  python-sqlalchemy
BuildRequires:  python-fedmsg-meta-fedora-infrastructure
BuildRequires:  python-nose

Requires:       statscache-common >= 0.0.2
Requires:       python-sqlalchemy
Requires:       python-fedmsg-meta-fedora-infrastructure
Requires:       python-nose

%description
Plugins for statscache daemon.

%prep
%setup -q -n %{modname}-%{version}

%build
%py2_build

# The test suite is broken for now.. but it should be working again soon.
#%check
#PYTHONPATH=$(pwd) %{__python2} setup.py test

%install
%py2_install

%files
%doc README.rst
%license COPYING COPYING.LESSER

%{python2_sitelib}/%{modname}/
%{python2_sitelib}/%{modname}-%{version}-py%{pyver}.egg-info/

%changelog
* Fri Aug 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 0.0.2-5
- Add a build-time dependency on python2-devel

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

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

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Oct 30 2015 Ralph Bean <rbean@redhat.com> - 0.0.2-1
- new version
- Disable test suite, which is broken for now.

* Fri Oct 09 2015 Ralph Bean <rbean@redhat.com> - 0.0.1-2
- Added some missing requirements.
- Moved license files to their own macro.

* Tue Jun 23 2015 Ratnadeep Debpnath <rtnpro@gmail.com> - 0.0.1-1
- Initial packaging.