forked from pool/python-pre-commit
Accepting request 1224424 from home:deneb_alpha:devel-utils
Fix build on SLES 15 SP7 OBS-URL: https://build.opensuse.org/request/show/1224424 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=45
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 10:58:24 UTC 2024 - Marina Latini <marina.latini@suse.com>
|
||||
|
||||
- spec file changes:
|
||||
* Specify a Group tag for recent Leap and SUSE Linux Enterprise
|
||||
* Disable Perl install test as that requires network for
|
||||
CPAN initialisation also on SUSE Linux Enterprise 15 SP7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 19:23:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ Summary: Multi-language pre-commit hooks
|
||||
License: MIT
|
||||
URL: https://github.com/pre-commit/pre-commit
|
||||
Source: https://github.com/pre-commit/pre-commit/archive/v%{version}.tar.gz#/pre-commit-%{version}.tar.gz
|
||||
%if 0%{?sle_version} <= 150600
|
||||
%if 0%{?sle_version} <= 150700
|
||||
Group: Development/Tools/Other
|
||||
%endif
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
@@ -109,7 +109,7 @@ EXCLUDED_TESTS="$EXCLUDED_TESTS or test_lua_additional_dependencies"
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or (golang_test and test_during_commit_all)"
|
||||
# requires swift
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_swift_language"
|
||||
%if 0%{?sle_version} <= 150600
|
||||
%if 0%{?sle_version} <= 150700
|
||||
# requires network on Leap or SUSE Linux Enterprise
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user