From 05bea80bc8c39db607fd07bc5c0777e7b858f34e3bc601dc13f884d25f3864fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 18 Nov 2024 08:03:48 +0000 Subject: [PATCH] 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 --- python-pre-commit.changes | 8 ++++++++ python-pre-commit.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pre-commit.changes b/python-pre-commit.changes index 46e63f2..ff0c13a 100644 --- a/python-pre-commit.changes +++ b/python-pre-commit.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 15 10:58:24 UTC 2024 - Marina Latini + +- 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 diff --git a/python-pre-commit.spec b/python-pre-commit.spec index 3fdff70..650d62b 100644 --- a/python-pre-commit.spec +++ b/python-pre-commit.spec @@ -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