public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Mailhot <nim@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [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/
Date: Fri, 05 Jun 2026 08:54:23 GMT [thread overview]
Message-ID: <178064966374.1.9518267917007916615.rpms-golang-bff14a1e75aa@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-05 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178064966374.1.9518267917007916615.rpms-golang-bff14a1e75aa@fedoraproject.org \
--to=nim@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox