public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/golang] rawhide: remove handling of gopath dirs from the golang package as they are no longer necessary and will conflict with https://pagure.io/go-rpm-macros/
@ 2026-06-05 8:54 Nicolas Mailhot
0 siblings, 0 replies; only message in thread
From: Nicolas Mailhot @ 2026-06-05 8:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/golang
Branch : rawhide
Commit : bff14a1e75aa1b7c98908eca866a3437bafaff08
Author : Nicolas Mailhot <nim@fedoraproject.org>
Date : 2026-06-05T10:54:00+02:00
Stats : +0/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/golang/c/bff14a1e75aa1b7c98908eca866a3437bafaff08?branch=rawhide
Log:
remove handling of gopath dirs from the golang package as they are no longer necessary and will conflict with https://pagure.io/go-rpm-macros/
---
diff --git a/golang.spec b/golang.spec
index 8adde7a..3a397bd 100644
--- a/golang.spec
+++ b/golang.spec
@@ -430,11 +430,6 @@ mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}
ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/go
ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/gofmt
-# ensure these exist and are owned
-mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com
-mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org
-mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p
-mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x
echo "== 7 =="
# make sure these files exist and point to alternatives
rm -f $RPM_BUILD_ROOT%{_bindir}/go
@@ -509,17 +504,6 @@ fi
%{goroot}/lib/wasm/
%{goroot}/lib/fips140/
-# ensure directory ownership, so they are cleaned up if empty
-%dir %{gopath}
-%dir %{gopath}/src
-%dir %{gopath}/src/github.com/
-%dir %{gopath}/src/bitbucket.org/
-%dir %{gopath}/src/code.google.com/
-%dir %{gopath}/src/code.google.com/p/
-%dir %{gopath}/src/golang.org
-%dir %{gopath}/src/golang.org/x
-
-
# gdbinit (for gdb debugging)
%{_sysconfdir}/gdbinit.d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-05 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 8:54 [rpms/golang] rawhide: remove handling of gopath dirs from the golang package as they are no longer necessary and will conflict with https://pagure.io/go-rpm-macros/ Nicolas Mailhot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox