From cdcd144522bd790e0c2b2cfe019ccdadec720f03 Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Wed, 10 Jul 2024 18:39:47 +0800 Subject: [PATCH] Add compilation options for i686 --- git.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index 8b99419..183792f 100644 --- a/git.spec +++ b/git.spec @@ -1,7 +1,7 @@ %global gitexecdir %{_libexecdir}/git-core Name: git Version: 2.43.0 -Release: 4 +Release: 5 Summary: A popular and widely used Version Control System License: GPLv2+ or LGPLv2.1 URL: https://git-scm.com/ @@ -139,6 +139,9 @@ grep -rlZ '^use Git::LoadCPAN::' | xargs -r0 sed -i 's/Git::LoadCPAN:://g' sed -i '/^git-cvs/d' command-list.txt %build +%if 0%{?build_cross} == 1 +sed -i "s/cross_compiling=yes/cross_compiling=no/g" configure +%endif %configure # Some options can not configure in configure script, so give options here (config.mak included in Makefile) @@ -304,6 +307,12 @@ make %{?_smp_mflags} test %{_mandir}/man7/git*.7.* %changelog +* Wed Jul 10 2024 fuanan - 2.43.0-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Add compilation options for i686. + * Fri May 17 2024 fuanan - 2.43.0-4 - Type:CVE - ID:CVE-2024-32021 CVE-2024-32004 CVE-2024-32020 CVE-2024-32465 -- Gitee