%global upstream_version 0.1.1
Name: waiverdb
Version: 0.1.1
Release: 2%{?dist}
Summary: Service for waiving results in ResultsDB
License: GPLv2+
URL: https://pagure.io/waiverdb
Source0: https://files.pythonhosted.org/packages/source/w/%{name}/%{name}-%{upstream_version}.tar.gz
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-flask
BuildRequires: python-sqlalchemy
BuildRequires: python-flask-restful
BuildRequires: python-flask-sqlalchemy
BuildRequires: python-kerberos
BuildRequires: pytest
BuildRequires: python-mock
BuildRequires: pytest
BuildRequires: fedmsg
BuildRequires: python-flask-oidc
BuildArch: noarch
Requires: python-flask
Requires: python-sqlalchemy
Requires: python-flask-restful
Requires: python-flask-sqlalchemy
Requires: python-kerberos
Requires: python-mock
Requires: fedmsg
Requires: python-flask-oidc
%description
WaiverDB is a companion service to ResultsDB, for recording waivers
against test results.
%prep
%setup -q -n %{name}-%{upstream_version}
%build
%py2_build
%install
%py2_install
%check
export PYTHONPATH=%{buildroot}/%{python2_sitelib}
py.test tests/
%files
%license COPYING
%doc README.md conf docs
%{python2_sitelib}/%{name}
%{python2_sitelib}/%{name}*.egg-info
%changelog
* Wed May 03 2017 Matt Jia <mjia@redhat.com> - 0.1.1-2
- Fix the long line error in the spec file reported by rpmlint
* Wed Apr 26 2017 Matt Jia <mjia@redhat.com> - 0.1.1-1
- Updated to release 0.1.1