From 4c0ce8e061fc5f26419631b6ec2f94558d08fd1d Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Wed, 10 Jul 2024 18:36:16 +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 111fa1a..571f042 100644 --- a/git.spec +++ b/git.spec @@ -1,7 +1,7 @@ %global gitexecdir %{_libexecdir}/git-core Name: git Version: 2.44.0 -Release: 3 +Release: 4 Summary: A popular and widely used Version Control System License: GPLv2+ or LGPLv2.1 URL: https://git-scm.com/ @@ -138,6 +138,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) @@ -303,6 +306,12 @@ make %{?_smp_mflags} test %{_mandir}/man7/git*.7.* %changelog +* Wed Jul 10 2024 fuanan - 2.44.0-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Add compilation options for i686. + * Thu May 16 2024 fuanan - 2.44.0-3 - Type:CVE - ID:CVE-2024-32021 CVE-2024-32004 CVE-2024-32020 CVE-2024-32465 -- Gitee