forked from pool/mercurial-extension-hg-evolve
Accepting request 921381 from home:expeehaa:branches:devel:tools:scm
- Add a test blacklist and run tests on all distributions. I added these changes before submitting the previous request, but somehow they weren't submitted. This will fix the build failures on Tumbleweed. OBS-URL: https://build.opensuse.org/request/show/921381 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/mercurial-extension-hg-evolve?expand=0&rev=2
This commit is contained in:
parent
5fe478d08f
commit
ca36e43fa2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 24 22:11:01 UTC 2021 - Lukas Müller <expeehaa@outlook.com>
|
||||||
|
|
||||||
|
- Add a test blacklist and run tests on all distributions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 20 18:44:53 UTC 2021 - Lukas Müller <expeehaa@outlook.com>
|
Mon Sep 20 18:44:53 UTC 2021 - Lukas Müller <expeehaa@outlook.com>
|
||||||
|
|
||||||
|
@ -15,12 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# 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
|
Name: mercurial-extension-hg-evolve
|
||||||
Version: 10.3.3
|
Version: 10.3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -28,13 +22,17 @@ Summary: Flexible evolution of Mercurial history
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
URL: https://www.mercurial-scm.org/doc/evolution/
|
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: python-rpm-macros
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pyflakes
|
||||||
|
BuildRequires: python3-flake8
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
BuildRequires: mercurial-tests
|
BuildRequires: mercurial-tests
|
||||||
|
BuildRequires: unzip
|
||||||
Requires: mercurial
|
Requires: mercurial
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -57,10 +55,8 @@ rm %{buildroot}%{python3_sitelib}/hgext3rd/__pycache__/__init__*.pyc
|
|||||||
%fdupes %{buildroot}%{python3_sitelib}
|
%fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
|
||||||
cd tests
|
cd tests
|
||||||
python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg
|
python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg --blacklist=%{SOURCE90}
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGELOG README.rst
|
%doc CHANGELOG README.rst
|
||||||
|
3
tests.blacklist
Normal file
3
tests.blacklist
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
test-check-sdist.t
|
||||||
|
test-check-compat-strings.t
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user