build without perl_modcompat in EL >= 10

This commit is contained in:
Ondřej Pohořelský 2024-07-19 09:11:04 +02:00
parent a6a4a71873
commit fdd6ec7e5a

View File

@ -14,8 +14,8 @@
%bcond_with linkcheck %bcond_with linkcheck
%endif %endif
# Settings for Fedora >= 38 # Settings for Fedora >= 38 and EL >= 10
%if 0%{?fedora} >= 38 %if 0%{?fedora} >= 38 || 0%{?rhel} >= 10
%bcond_with perl_modcompat %bcond_with perl_modcompat
%else %else
%bcond_without perl_modcompat %bcond_without perl_modcompat
@ -79,7 +79,7 @@
Name: git Name: git
Version: 2.45.2 Version: 2.45.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Fast Version Control System 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 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/ URL: https://git-scm.com/
@ -1040,6 +1040,9 @@ rmdir --ignore-fail-on-non-empty "$testdir"
%{?with_docs:%{_pkgdocdir}/git-svn.html} %{?with_docs:%{_pkgdocdir}/git-svn.html}
%changelog %changelog
* Fri Jul 19 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.45.2-3
- build without perl_modcompat in EL >= 10
* Mon Jul 01 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.45.2-1 * Mon Jul 01 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.45.2-1
- update to 2.45.2 - update to 2.45.2
- add glibc-utils BuildRequires - add glibc-utils BuildRequires