已合并
update to version 3.8.0 #30
Funda Wang创建于 29 天前
update to version 3.8.0 #30
已合并
Funda Wang创建于 29 天前
从已删除 :main合入到src-openeuler/git-lfsmaster
共 4 个文件变更+19-17
Binary files do not support preview
Binary files do not support preview
@@ -2,14 +2,13 @@
2%bcond_without check2%bcond_without check
3 3 
4Name: git-lfs4Name: git-lfs
5-Version: 3.7.15+Version: 3.8.0
6Release: 16Release: 1
7Summary: Git extension for versioning large files7Summary: Git extension for versioning large files
8 8 
9License: MIT and BSD and Apache-2.0 and MPL-2.09License: MIT and BSD and Apache-2.0 and MPL-2.0
10URL: https://git-lfs.github.io/10URL: https://git-lfs.github.io/
11-Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz11+Source0: https://github.com/git-lfs/git-lfs/releases/download/v%{version}/git-lfs-vendor-v%{version}.tar.gz
12-Source1: vendor.tar.xz
13Patch6000: 0001-use-vendor-dir-for-build.patch12Patch6000: 0001-use-vendor-dir-for-build.patch
14 13 
15%if %{with check}14%if %{with check}
@@ -19,10 +18,12 @@ BuildRequires: perl-Test-Harness
19# Tests require full git suite, but not generally needed.18# Tests require full git suite, but not generally needed.
20BuildRequires: git >= 1.8.519BuildRequires: git >= 1.8.5
21%endif20%endif
22-BuildRequires: golang >= 1.23.021+BuildRequires: golang >= 1.25.0
23BuildRequires: tar, which22BuildRequires: tar, which
24 23 
25Requires: git-core >= 1.8.524Requires: git-core >= 1.8.5
25+Requires(post): /usr/bin/git
26+Requires(preun): /usr/bin/git
26Supplements: (git-core and openEuler-release)27Supplements: (git-core and openEuler-release)
27 28 
28%description29%description
@@ -32,30 +33,31 @@ storing the file contents on a remote server.
32 33 
33 34 
34%prep35%prep
35-%autosetup -p0 -n %{name}-%{version} -a 136+%autosetup -p0 -n %{name}-%{version}
36- 
37-cd ..
38-mv %{name}-%{version} %{name}
39-mkdir -p %{name}-%{version}/src/github.com/git-lfs
40-mv %{name} %{name}-%{version}/src/github.com/git-lfs/
41- 
42 37 
43%build38%build
44-pushd src/github.com/git-lfs/%{name}
45make39make
46-popd
47-# BaseOS is not support rubygem-ronn/ronn, ignore generate man pages
48- 
49 40 
50%install41%install
51-install -Dpm0755 src/github.com/git-lfs/git-lfs/bin/git-lfs %{buildroot}%{_bindir}/%{name}42+install -Dpm0755 bin/git-lfs %{buildroot}%{_bindir}/%{name}
52 43 
44+%post
45+git lfs install --system
46+ 
47+%preun
48+if [ $1 -eq 0 ] ; then
49+ git lfs uninstall --system
50+fi
53 51 
54%files52%files
53+%license LICENSE.md
54+%doc CHANGELOG.md
55%{_bindir}/%{name}55%{_bindir}/%{name}
56 56 
57- 
58%changelog57%changelog
58+* Fri Aug 28 2026 Funda Wang <fundawang@yeah.net> - 3.8.0-1
59+- update to 3.8.0
60+ 
59* Sun Oct 19 2025 Funda Wang <fundawang@yeah.net> - 3.7.1-161* Sun Oct 19 2025 Funda Wang <fundawang@yeah.net> - 3.7.1-1
60- update to 3.7.162- update to 3.7.1
61 63 
Binary files do not support preview