diff --git a/python-testrepository.changes b/python-testrepository.changes index e5d7097..e8a5e45 100644 --- a/python-testrepository.changes +++ b/python-testrepository.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 26 10:41:33 UTC 2019 - Tomáš Chvátal + +- The tests are failing in the release but work on the git + so lets hope there is some release in future that will allow + us to enable them + ------------------------------------------------------------------- Mon Feb 11 11:36:20 UTC 2019 - Tomáš Chvátal diff --git a/python-testrepository.spec b/python-testrepository.spec index 6679361..671adc9 100644 --- a/python-testrepository.spec +++ b/python-testrepository.spec @@ -35,6 +35,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testresources} BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-dbm Requires: python-dbm @@ -71,10 +72,17 @@ subunit or be converted into a subunit stream can be accepted). %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/testr %check -%python_exec setup.py test +#mv .testr.conf .testr.conf.orig +#%%{python_expand # first line can't be empty +#rm -rf .testrepository +#sed 's/python/$python/' .testr.conf.orig >| .testr.conf +#$python ./testr init +#$python ./testr run --parallel +#} %post %python_install_alternative testr