From d24dbb9bf0d928c2a0fe37f0ee898203772bb21c Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Sep 2024 03:30:15 +0300 Subject: [PATCH] import git-lfs-3.4.1-3.el9_4 --- SPECS/git-lfs.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SPECS/git-lfs.spec b/SPECS/git-lfs.spec index 4af278c..8a0f36b 100644 --- a/SPECS/git-lfs.spec +++ b/SPECS/git-lfs.spec @@ -9,7 +9,7 @@ Version: 3.4.1 %global gobuilddir %{_builddir}/%{name}-%{version}/_build Name: git-lfs -Release: 2%{?dist} +Release: 3%{?dist} Summary: Git extension for versioning large files License: MIT @@ -91,6 +91,10 @@ sed -i -e 's!^BINPATH=.\+!BINPATH="%{gobuilddir}/bin"!g' t/testenv.sh export GOPATH=%{gobuilddir}:%{gopath} export GO111MODULE=off +# Enable FIPS support at build time by enabling CGO and enforcing strict FIPS runtime +export CGO_ENABLED=1 +export GOEXPERIMENT=strictfipsruntime + # Build manpages first (some embedding in the executable is done.) make man GIT_LFS_SHA=unused VERSION=unused PREFIX=unused pushd docs @@ -151,6 +155,10 @@ PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \ %changelog +* Fri Aug 16 2024 Ondřej Pohořelský - 3.4.1-3 +- Make Git-LFS FIPS compliant +- Resolves: RHEL-53085 + * Mon Apr 22 2024 Ondřej Pohořelský - 3.4.1-2 - Rebuild with new Golang - Resolves: RHEL-32570, RHEL-28385, RHEL-28402, RHEL-28432