From fdd6ec7e5a1caaa217493f7f22d5328e78ec4b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Poho=C5=99elsk=C3=BD?= Date: Fri, 19 Jul 2024 09:11:04 +0200 Subject: [PATCH] build without perl_modcompat in EL >= 10 --- git.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/git.spec b/git.spec index f0f6dc0..294cc9d 100644 --- a/git.spec +++ b/git.spec @@ -14,8 +14,8 @@ %bcond_with linkcheck %endif -# Settings for Fedora >= 38 -%if 0%{?fedora} >= 38 +# Settings for Fedora >= 38 and EL >= 10 +%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10 %bcond_with perl_modcompat %else %bcond_without perl_modcompat @@ -79,7 +79,7 @@ Name: git Version: 2.45.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast Version Control System License: BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT URL: https://git-scm.com/ @@ -1040,6 +1040,9 @@ rmdir --ignore-fail-on-non-empty "$testdir" %{?with_docs:%{_pkgdocdir}/git-svn.html} %changelog +* Fri Jul 19 2024 Ondřej Pohořelský - 2.45.2-3 +- build without perl_modcompat in EL >= 10 + * Mon Jul 01 2024 Ondřej Pohořelský - 2.45.2-1 - update to 2.45.2 - add glibc-utils BuildRequires