diff --git a/.gitignore b/.gitignore index 11fc9aa..971d8bc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /waiverdb-0.4.0.tar.gz /waiverdb-0.5.0.tar.gz /waiverdb-0.7.0.tar.gz +/waiverdb-0.8.0.tar.gz diff --git a/sources b/sources index 8cd301b..ddf0df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (waiverdb-0.7.0.tar.gz) = 8fed7a0be6c6b12420f68d8ac2ade35fe8a5747b07d6d25a8392072bae4e2a63a88bd20e126a8298ab0707447ca743e3def4670d1fc4f6692d4c7a5280d70f6e +SHA512 (waiverdb-0.8.0.tar.gz) = 39364c5fcfe6b113b1e187d41856230bd59de0bef80acbbee3a7e07998bbedd4339953278f2212d993f171b0042e898b38eddad40ef09febc752878e527660d3 diff --git a/waiverdb.spec b/waiverdb.spec index c3dca1f..f4dc612 100644 --- a/waiverdb.spec +++ b/waiverdb.spec @@ -1,9 +1,9 @@ -%global upstream_version 0.7.0 +%global upstream_version 0.8.0 Name: waiverdb -Version: 0.7.0 -Release: 2%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Summary: Service for waiving results in ResultsDB License: GPLv2+ URL: https://pagure.io/waiverdb @@ -23,11 +23,7 @@ BuildRequires: python-sqlalchemy %endif BuildRequires: python2-flask-restful BuildRequires: python2-flask-sqlalchemy -%if 0%{?fedora} > 27 -BuildRequires: python2-sqlalchemy-utils -%else -BuildRequires: python-sqlalchemy-utils -%endif +BuildRequires: python2-psycopg2 BuildRequires: python2-kerberos BuildRequires: python2-systemd BuildRequires: python2-pytest @@ -43,7 +39,7 @@ BuildRequires: python-flask BuildRequires: python-sqlalchemy BuildRequires: python-flask-restful BuildRequires: python-flask-sqlalchemy -BuildRequires: python-sqlalchemy-utils +BuildRequires: python-psycopg2 BuildRequires: python-kerberos BuildRequires: systemd-python BuildRequires: pytest @@ -67,11 +63,7 @@ Requires: python-sqlalchemy %endif Requires: python2-flask-restful Requires: python2-flask-sqlalchemy -%if 0%{?fedora} > 27 -Requires: python2-sqlalchemy-utils -%else -Requires: python-sqlalchemy-utils -%endif +Requires: python2-psycopg2 Requires: python2-kerberos Requires: python2-systemd Requires: python2-mock @@ -85,6 +77,7 @@ Requires: python-flask Requires: python-sqlalchemy Requires: python-flask-restful Requires: python-flask-sqlalchemy +Requires: python-psycopg2 Requires: python-kerberos Requires: systemd-python Requires: python-mock @@ -153,9 +146,10 @@ install -m0644 \ conf/client.conf.example \ %{buildroot}%{_sysconfdir}/waiverdb/client.conf -%check -export PYTHONPATH=%{buildroot}/%{python2_sitelib} -py.test tests/ +# Tests don't make sense here now that we require postgres to run them. +#%%check +#export PYTHONPATH=%%{buildroot}/%%{python2_sitelib} +#py.test tests/ %files %{python2_sitelib}/%{name} @@ -191,6 +185,11 @@ py.test tests/ %systemd_postun_with_restart %{name}.service %changelog +* Fri Feb 23 2018 Giulia Naponiello - 0.8.0-1 +- Removed support to SQLite in favor of PostgreSQL. +- Fixed and improved interaction with PostgreSQL. +- Added information on the README file on how to configure the db. + * Fri Feb 16 2018 Giulia Naponiello - 0.7.0-2 - Bump the version to fix a minor issue.