diff --git a/.gitignore b/.gitignore index e69de29..dce2c96 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/waiverdb-0.1.1.tar.gz diff --git a/sources b/sources index e69de29..9058803 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (waiverdb-0.1.1.tar.gz) = 1e28bf26c25df3922677d3f853e20bcb234c3f2500ea8a440af245c24c937074ac855ac08f9499554a249b4735ac2be59c9a862e66dab66f8715d70d5c79c15e diff --git a/waiverdb.spec b/waiverdb.spec new file mode 100644 index 0000000..ad24872 --- /dev/null +++ b/waiverdb.spec @@ -0,0 +1,62 @@ + +%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 - 0.1.1-2 +- Fix the long line error in the spec file reported by rpmlint + +* Wed Apr 26 2017 Matt Jia - 0.1.1-1 +- Updated to release 0.1.1