|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/git-lfs/git-lfs
|
|
|
|
# https://github.com/git-lfs/git-lfs
|
|
|
|
%global goipath github.com/git-lfs/git-lfs
|
|
|
|
%global goipath github.com/git-lfs/git-lfs
|
|
|
|
Version: 3.2.0
|
|
|
|
Version: 3.4.1
|
|
|
|
|
|
|
|
|
|
|
|
# golang doesn't ship i686 binaries, we don't need the build
|
|
|
|
# golang doesn't ship i686 binaries, we don't need the build
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1752991#c9
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1752991#c9
|
|
|
@ -19,17 +19,16 @@ Version: 3.2.0
|
|
|
|
%global gobuild CGO_CPPFLAGS="-D_FORTIFY_SOURCE=2 -fstack-protector-all" go build -compiler gc -buildmode pie '-tags=rpm_crashtraceback libtrust_openssl ' -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}
|
|
|
|
%global gobuild CGO_CPPFLAGS="-D_FORTIFY_SOURCE=2 -fstack-protector-all" go build -compiler gc -buildmode pie '-tags=rpm_crashtraceback libtrust_openssl ' -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}
|
|
|
|
|
|
|
|
|
|
|
|
Name: git-lfs
|
|
|
|
Name: git-lfs
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Git extension for versioning large files
|
|
|
|
Summary: Git extension for versioning large files
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://git-lfs.github.io/
|
|
|
|
URL: https://git-lfs.github.io/
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
|
|
|
Source1: manpages.tgz
|
|
|
|
Source1: manpages.tgz
|
|
|
|
# See this script. Generating of manpages is performed on other distros due to some missing numerous dependencies on RHEL
|
|
|
|
# See this script. Generating of manpages is performed on other distros due to some missing rubygem-asciidoctor on RHEL-8
|
|
|
|
Source2: gen-manpages.sh
|
|
|
|
Source2: gen-manpages.sh
|
|
|
|
|
|
|
|
|
|
|
|
Patch: https://github.com/git-lfs/git-lfs/commit/11fe8dc62ed2eb158eaec28af90d2f509e7fd91f.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Generated provides by vendor2provides.py
|
|
|
|
# Generated provides by vendor2provides.py
|
|
|
|
# https://src.fedoraproject.org/rpms/syncthing/blob/603e4e03a92a7d704d199629dd85304018e8279d/f/vendor2provides.py
|
|
|
|
# https://src.fedoraproject.org/rpms/syncthing/blob/603e4e03a92a7d704d199629dd85304018e8279d/f/vendor2provides.py
|
|
|
@ -37,12 +36,12 @@ Provides: bundled(golang(github.com/alexbrainman/sspi)) = 909beea
|
|
|
|
Provides: bundled(golang(github.com/avast/retry-go)) = 2.4.2+incompatible
|
|
|
|
Provides: bundled(golang(github.com/avast/retry-go)) = 2.4.2+incompatible
|
|
|
|
Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1
|
|
|
|
Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1
|
|
|
|
Provides: bundled(golang(github.com/dpotapov/go-spnego)) = 298b63a
|
|
|
|
Provides: bundled(golang(github.com/dpotapov/go-spnego)) = 298b63a
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/gitobj/v2)) = 2.1.0
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/gitobj/v2)) = 2.1.1
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/go-netrc)) = f0c862d
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/go-netrc)) = f0c862d
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/pktline)) = 06e9096
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/pktline)) = 06e9096
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/wildmatch/v2)) = 2.0.1
|
|
|
|
Provides: bundled(golang(github.com/git-lfs/wildmatch/v2)) = 2.0.1
|
|
|
|
Provides: bundled(golang(github.com/hashicorp/go-uuid)) = 1.0.2
|
|
|
|
Provides: bundled(golang(github.com/hashicorp/go-uuid)) = 1.0.2
|
|
|
|
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 1.0.0
|
|
|
|
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 1.0.1
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/aescts/v2)) = 2.0.0
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/aescts/v2)) = 2.0.0
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/dnsutils/v2)) = 2.0.0
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/dnsutils/v2)) = 2.0.0
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/gofork)) = 1.0.0
|
|
|
|
Provides: bundled(golang(github.com/jcmturner/gofork)) = 1.0.0
|
|
|
@ -55,19 +54,20 @@ Provides: bundled(golang(github.com/olekukonko/ts)) = 78ecb04
|
|
|
|
Provides: bundled(golang(github.com/pkg/errors)) = c605e28
|
|
|
|
Provides: bundled(golang(github.com/pkg/errors)) = c605e28
|
|
|
|
Provides: bundled(golang(github.com/pmezard/go-difflib)) = 1.0.0
|
|
|
|
Provides: bundled(golang(github.com/pmezard/go-difflib)) = 1.0.0
|
|
|
|
Provides: bundled(golang(github.com/rubyist/tracerx)) = 7879593
|
|
|
|
Provides: bundled(golang(github.com/rubyist/tracerx)) = 7879593
|
|
|
|
Provides: bundled(golang(github.com/spf13/cobra)) = 0.0.3
|
|
|
|
Provides: bundled(golang(github.com/spf13/cobra)) = 1.6.0
|
|
|
|
Provides: bundled(golang(github.com/spf13/pflag)) = 1.0.3
|
|
|
|
Provides: bundled(golang(github.com/spf13/pflag)) = 1.0.5
|
|
|
|
Provides: bundled(golang(github.com/ssgelm/cookiejarparser)) = 1.0.1
|
|
|
|
Provides: bundled(golang(github.com/ssgelm/cookiejarparser)) = 1.0.1
|
|
|
|
Provides: bundled(golang(github.com/stretchr/testify)) = 1.6.1
|
|
|
|
Provides: bundled(golang(github.com/stretchr/testify)) = 1.6.1
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = 4e3ac27
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = 4e3ac27
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonreference)) = bd5ef7b
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonreference)) = bd5ef7b
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3f
|
|
|
|
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3f
|
|
|
|
Provides: bundled(golang(golang.org/x/crypto)) = 7b82a4e
|
|
|
|
Provides: bundled(golang(golang.org/x/crypto)) = 7b82a4e
|
|
|
|
Provides: bundled(golang(golang.org/x/net)) = 69e39ba
|
|
|
|
Provides: bundled(golang(golang.org/x/net)) = 0.7.0
|
|
|
|
Provides: bundled(golang(golang.org/x/sync)) = 036812b
|
|
|
|
Provides: bundled(golang(golang.org/x/sync)) = 0.1.0
|
|
|
|
Provides: bundled(golang(golang.org/x/sys)) = 665e8c7
|
|
|
|
Provides: bundled(golang(golang.org/x/sys)) = 0.5.0
|
|
|
|
Provides: bundled(golang(golang.org/x/text)) = 0.3.7
|
|
|
|
Provides: bundled(golang(golang.org/x/text)) = 0.7.0
|
|
|
|
Provides: bundled(golang(gopkg.in/yaml.v3)) = 9f266ea
|
|
|
|
Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_check}
|
|
|
|
%if 0%{?with_check}
|
|
|
|
# For tests
|
|
|
|
# For tests
|
|
|
@ -129,12 +129,15 @@ popd
|
|
|
|
# In Fedora this is done by using %%gopkginstall
|
|
|
|
# In Fedora this is done by using %%gopkginstall
|
|
|
|
install -Dpm0755 %{gobuilddir}/bin/git-lfs %{buildroot}%{_bindir}/%{name}
|
|
|
|
install -Dpm0755 %{gobuilddir}/bin/git-lfs %{buildroot}%{_bindir}/%{name}
|
|
|
|
install -d -p %{buildroot}%{_mandir}/man1/
|
|
|
|
install -d -p %{buildroot}%{_mandir}/man1/
|
|
|
|
install -Dpm0644 docs/man/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
install -Dpm0644 man/man1/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
install -d -p %{buildroot}%{_mandir}/man5/
|
|
|
|
install -d -p %{buildroot}%{_mandir}/man5/
|
|
|
|
install -Dpm0644 docs/man/*.5 %{buildroot}%{_mandir}/man5/
|
|
|
|
install -Dpm0644 man/man5/*.5 %{buildroot}%{_mandir}/man5/
|
|
|
|
|
|
|
|
install -d -p %{buildroot}%{_mandir}/man7/
|
|
|
|
|
|
|
|
install -Dpm0644 man/man7/*.7 %{buildroot}%{_mandir}/man7/
|
|
|
|
|
|
|
|
|
|
|
|
# Remove unwanted files from man folder
|
|
|
|
# Remove unwanted files from man folder
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1852842
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1852842
|
|
|
|
rm docs/man/*.1 docs/man/*.5
|
|
|
|
rm -r man/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
@ -150,7 +153,9 @@ exit 0
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \
|
|
|
|
PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \
|
|
|
|
make -C t PROVE_EXTRA_ARGS="-j$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
# https://github.com/git-lfs/git-lfs/issues/5609
|
|
|
|
|
|
|
|
# tests fails when running with low level of parallelism
|
|
|
|
|
|
|
|
make -C t PROVE_EXTRA_ARGS="-j40 -v"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -161,12 +166,17 @@ PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}*.1*
|
|
|
|
%{_mandir}/man1/%{name}*.1*
|
|
|
|
%{_mandir}/man5/%{name}*.5*
|
|
|
|
%{_mandir}/man5/%{name}*.5*
|
|
|
|
|
|
|
|
%{_mandir}/man7/%{name}*.7*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Apr 30 2024 Ondrej Pohorelsky <opohorel@redhat.com> - 3.2.0-3
|
|
|
|
* Mon Apr 22 2024 Ondřej Pohořelský <opohorel@redhat.com> - 3.4.1-2
|
|
|
|
- Rebuild with new Golang
|
|
|
|
- Rebuild with new Golang
|
|
|
|
- Resolves: RHEL-32542
|
|
|
|
- Resolves: RHEL-32543, RHEL-28377, RHEL-28399, RHEL-28423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Ondrej Pohorelsky <opohorel@redhat.com> - 3.4.1-1
|
|
|
|
|
|
|
|
- Update to version 3.4.1
|
|
|
|
|
|
|
|
- Resolves: RHEL-17102
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.2.0-2
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.2.0-2
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|