diff --git a/custodia.spec b/custodia.spec index 086ab14..14b1a5b 100644 --- a/custodia.spec +++ b/custodia.spec @@ -1,10 +1,11 @@ %if 0%{?fedora} %global with_python3 1 +%global python3_tox $(python3 -c 'import sys; print("py{0.major}{0.minor}".format(sys.version_info))') %endif Name: custodia Version: 0.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A service to manage, retrieve and store secrets for other processes License: GPLv3+ @@ -147,7 +148,7 @@ export PIP_NO_DEPS=yes tox --sitepackages -e py27 -- --skip-servertests %if 0%{?with_python3} -tox --sitepackages -e py35 -- --skip-servertests +tox --sitepackages -e %{python3_tox} -- --skip-servertests %endif @@ -226,6 +227,9 @@ cp %{buildroot}/%{_bindir}/custodia-cli %{buildroot}/%{_bindir}/custodia-cli-3 %changelog +* Tue Apr 11 2017 Christian Heimes - 0.3.1-3 +- Run Python 3 tests with correct Python version + * Fri Apr 07 2017 Christian Heimes - 0.3.1-2 - Add conflict with FreeIPA < 4.5