RHEL10 needs to have Git-LFS 3.7.0 or newer available for use by RHEL Partners and Customers. This will be done as a rebase of Git-LFS in RHEL 10.
RHEL Package Docs article: https://rhel-package-docs.pages.redhat.com/rhel-package-docs/docs/packages/git-lfs.html
Updating Git-LFS:
Git-LFS is a Golang package, posing challenges in terms of packaging.
Certain macros used in Fedora can’t be used in RHEL. Additionally, the bundling of numerous Golang dependencies is necessary because they are absent in the RHEL compose.
The Git-LFS upstream has recently ceased providing the vendor directory. To create it, unpack the source tarball, run go mod vendor, and create a new tarball that now includes the vendor directory. Declare these dependencies as Provides: in the spec file.
To simplify this process, use the vendor2provides.py script, which generates these Provides from vendor/modules.txt.
For RHEL 8, manually generate man pages, upload them to the look-aside cache, and unpack them during the package build. Utilize the gen-manpages.sh script to generate manpages.tgz.
Since RHEL-9.2 Git-LFS is compiled with GOEXPERIMENT=strictfipsruntime. Making the package FIPS compliant. This was requested by containers team as Git-LFS is part of the UBI9 container.