forked from pool/python-pre-commit
Accepting request 1136649 from home:deneb_alpha:devel-utils
- Specify a Group tag for Leap and SUSE Linux Enterprise - Disable Perl install test as that requires network for CPAN initialisation also on SUSE Linux Enterprise. OBS-URL: https://build.opensuse.org/request/show/1136649 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 17:04:33 UTC 2024 - Marina Latini <marina.latini@suse.com>
|
||||
|
||||
- Specify a Group tag for Leap and SUSE Linux Enterprise
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 16:13:53 UTC 2024 - Marina Latini <marina.latini@suse.com>
|
||||
|
||||
- Disable Perl install test as that requires network for
|
||||
CPAN initialisation also on SUSE Linux Enterprise.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 12:28:25 UTC 2023 - Matthias Bach <marix@marix.org> - 3.6.0
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pre-commit
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,6 +24,9 @@ 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
|
||||
Group: Development/Tools/Other
|
||||
%endif
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -33,7 +36,7 @@ Requires: python-identify >= 1.0.0
|
||||
Requires: python-nodeenv >= 0.11.1
|
||||
Requires: python-virtualenv >= 20.10.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
||||
BuildRequires: lua53-devel
|
||||
@@ -99,12 +102,11 @@ EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_python_repo_python2 or rust_test"
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_run_example_executable or test_run_dep or test_perl_additional_dependencies or test_lua_additional_dependencies"
|
||||
# requires swift
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_swift_language"
|
||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
||||
# requires network on Leap
|
||||
%if 0%{?sle_version} <= 150600
|
||||
# requires network on Leap or SUSE Linux Enterprise
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"
|
||||
%endif
|
||||
|
||||
|
||||
# Fix issue with git submodule in OBS
|
||||
git config --global --add protocol.file.allow always
|
||||
|
||||
|
Reference in New Issue
Block a user