public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/git-lfs] f43: Update to latest go-vendor-tools
@ 2026-08-16 2:50 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-16 2:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/git-lfs
Branch : f43
Commit : 0ed29cc3abb58b8d78c4b4a1ba8d58f6beebd702
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2025-11-20T22:40:35-05:00
Stats : +4/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/git-lfs/c/0ed29cc3abb58b8d78c4b4a1ba8d58f6beebd702?branch=f43
Log:
Update to latest go-vendor-tools
This package was migrated under a draft version of the tools and
guidelines; some changes were made prior to their finalization.
---
diff --git a/git-lfs.spec b/git-lfs.spec
index f8335d5..e8f1af3 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -58,10 +58,9 @@ tar xf %{SOURCE3}
cd %{_sourcedir}
sha256sum --check --ignore-missing --strict '%{builddir}/trusted_checksums'
-%goprep -A
-%setup -q -T -D -a1 %{forgesetupargs}
+%goprep -p1
+tar -xf %{SOURCE1}
cp -p %{SOURCE4} .
-%autopatch -p1
# Modify tests so that they expect binaries where we build them.
sed -i -e 's!\.\./bin/!/%{gobuilddir}/bin/!g' t/Makefile
@@ -83,7 +82,7 @@ pushd docs
popd
%if 0%{?fedora}
-LDFLAGS="-X 'github.com/git-lfs/git-lfs/config.Vendor=Fedora %{?fedora}' " \
+GO_LDFLAGS="-X 'github.com/git-lfs/git-lfs/config.Vendor=Fedora %{?fedora}' "
%endif
%gobuild -o %{gobuilddir}/bin/git-lfs %{goipath}
@@ -130,7 +129,7 @@ exit 0
%check
%go_vendor_license_check -c %{S:5}
%if %{with check}
-%gotest ./...
+%gocheck2
PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \
make -C t PROVE_EXTRA_ARGS="-j$(getconf _NPROCESSORS_ONLN)"
%endif
@@ -138,7 +137,6 @@ PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \
%files -f %{go_vendor_license_filelist}
%doc README.md README.Fedora CHANGELOG.md docs
-%license vendor/modules.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*.1*
%{_mandir}/man5/%{name}*.5*
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-16 2:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 2:50 [rpms/git-lfs] f43: Update to latest go-vendor-tools Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox