Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added git-lfs and update git to version 2.47.1 #9569

Open
wants to merge 2 commits into
base: IB/CMSSW_15_0_X/master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmssw-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Requires: sloccount
Requires: millepede
Requires: pacparser
Requires: git
Requires: git-lfs
Requires: fastjet
Requires: fastjet-contrib
Requires: opencl
Expand Down
14 changes: 14 additions & 0 deletions git-lfs.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### RPM external git-lfs 3.6.0
Source: https://github.com/git-lfs/git-lfs/archive/v%{realversion}.tar.gz
BuildRequires: gmake go
Requires: git

%prep
%setup -n %{n}-%{realversion}

%build
make %{makeprocesses} VERSION=v%{realversion} GIT_LFS_SHA=${realversion}

%install
mkdir -p %{i}/bin
mv bin/git-lfs %{i}/bin
4 changes: 2 additions & 2 deletions git.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
### RPM external git 2.38.1
### RPM external git 2.47.1
## INITENV +PATH PATH %{i}/bin
## INITENV +PATH PATH %{i}/libexec/git-core
## INITENV SET GIT_TEMPLATE_DIR %{i}/share/git-core/templates
## INITENV SET GIT_SSL_CAINFO %{i}/share/ssl/certs/ca-bundle.crt
## INITENV SET GIT_EXEC_PATH %{i}/libexec/git-core

Source0: https://github.com/git/git/archive/v%{realversion}.tar.gz
Source1: https://raw.github.com/bagder/curl/curl-7_59_0/lib/mk-ca-bundle.pl
Source1: https://raw.github.com/curl/curl/curl-8_11_1/scripts/mk-ca-bundle.pl
Patch1: git-2.19.0-runtime

Requires: curl expat zlib pcre2 python3
Expand Down
7 changes: 7 additions & 0 deletions scram-tools.file/tools/git-lfs/git-lfs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<tool name="git-lfs" version="@TOOL_VERSION@" revision="1">
<info url="https://git-lfs.com/"/>
<client>
<environment name="GIT_LFS_BASE" default="@TOOL_ROOT@"/>
</client>
<runtime name="PATH" value="$GIT_LFS_BASE/bin" type="path"/>
</tool>