diff --git a/mercurial-extension-hg-evolve.changes b/mercurial-extension-hg-evolve.changes index 579b9ef..ed74724 100644 --- a/mercurial-extension-hg-evolve.changes +++ b/mercurial-extension-hg-evolve.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 24 22:11:01 UTC 2021 - Lukas Müller + +- Add a test blacklist and run tests on all distributions. + ------------------------------------------------------------------- Mon Sep 20 18:44:53 UTC 2021 - Lukas Müller diff --git a/mercurial-extension-hg-evolve.spec b/mercurial-extension-hg-evolve.spec index af88650..a5a499b 100644 --- a/mercurial-extension-hg-evolve.spec +++ b/mercurial-extension-hg-evolve.spec @@ -15,12 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%if 0%{?suse_version} >= 1550 -%bcond_without test -%else -%bcond_with test -%endif - Name: mercurial-extension-hg-evolve Version: 10.3.3 Release: 0 @@ -28,13 +22,17 @@ Summary: Flexible evolution of Mercurial history License: GPL-2.0+ Group: Development/Tools/Version Control URL: https://www.mercurial-scm.org/doc/evolution/ -Source: https://files.pythonhosted.org/packages/source/h/hg-evolve/hg-evolve-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/h/hg-evolve/hg-evolve-%{version}.tar.gz +Source90: tests.blacklist BuildRequires: python-rpm-macros BuildRequires: python3 BuildRequires: python3-setuptools +BuildRequires: python3-pyflakes +BuildRequires: python3-flake8 BuildRequires: fdupes BuildRequires: mercurial BuildRequires: mercurial-tests +BuildRequires: unzip Requires: mercurial BuildArch: noarch @@ -57,10 +55,8 @@ rm %{buildroot}%{python3_sitelib}/hgext3rd/__pycache__/__init__*.pyc %fdupes %{buildroot}%{python3_sitelib} %check -%if %{with test} cd tests -python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg -%endif +python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg --blacklist=%{SOURCE90} %files %doc CHANGELOG README.rst diff --git a/tests.blacklist b/tests.blacklist new file mode 100644 index 0000000..b9653f1 --- /dev/null +++ b/tests.blacklist @@ -0,0 +1,3 @@ +test-check-sdist.t +test-check-compat-strings.t +