Skip to content

Commit

Permalink
Merge pull request #9569 from cms-sw/smuzaffar-patch-9
Browse files Browse the repository at this point in the history
Added git-lfs and update git to version 2.47.1
  • Loading branch information
smuzaffar authored Dec 17, 2024
2 parents cea3760 + a4b732d commit 8602af8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
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>

0 comments on commit 8602af8

Please sign in to comment.