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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,6 +24,9 @@ Summary: Multi-language pre-commit hooks
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pre-commit/pre-commit
|
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
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -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"
|
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
|
# requires swift
|
||||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_swift_language"
|
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_swift_language"
|
||||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
%if 0%{?sle_version} <= 150600
|
||||||
# requires network on Leap
|
# requires network on Leap or SUSE Linux Enterprise
|
||||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"
|
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
# Fix issue with git submodule in OBS
|
# Fix issue with git submodule in OBS
|
||||||
git config --global --add protocol.file.allow always
|
git config --global --add protocol.file.allow always
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user