public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/golang-x-mod] f44: Fix go vet errors
Date: Mon, 28 Sep 2026 13:05:57 GMT	[thread overview]
Message-ID: <179060075761.1.14554174962236715501.rpms-golang-x-mod-949447fb7915@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/golang-x-mod
Branch : f44
Commit : 949447fb7915efbfd8f47b815fa0ba22505380a4
Author : Álex Sáez <asm@redhat.com>
Date   : 2026-09-28T15:04:48+02:00
Stats  : +27/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/golang-x-mod/c/949447fb7915efbfd8f47b815fa0ba22505380a4?branch=f44

Log:
Fix go vet errors

---
diff --git a/fix-go-vet-errors.patch b/fix-go-vet-errors.patch
new file mode 100644
index 0000000..eea70ea
--- /dev/null
+++ b/fix-go-vet-errors.patch
@@ -0,0 +1,25 @@
+From a1a46cd6044dfeb957c3490c048462aabd3c2081 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=81lex=20S=C3=A1ez?= <asm@redhat.com>
+Date: Mon, 28 Sep 2026 12:35:57 +0000
+Subject: [PATCH] Fix go vet errors
+
+---
+ modfile/read.go | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modfile/read.go b/modfile/read.go
+index 2d74868..ab97705 100644
+--- a/modfile/read.go
++++ b/modfile/read.go
+@@ -600,7 +600,7 @@ func (in *input) readToken() {
+ 
+ 	// Checked all punctuation. Must be identifier token.
+ 	if c := in.peekRune(); !isIdent(c) {
+-		in.Error(fmt.Sprintf("unexpected input character %#q", c))
++		in.Error(fmt.Sprintf("unexpected input character %#q", rune(c)))
+ 	}
+ 
+ 	// Scan over identifier.
+-- 
+2.55.0
+

diff --git a/golang-x-mod.spec b/golang-x-mod.spec
index 4e2262a..c92aa15 100644
--- a/golang-x-mod.spec
+++ b/golang-x-mod.spec
@@ -23,6 +23,7 @@ Summary:        Go module mechanics libraries
 License:        BSD-3-Clause
 URL:            %{gourl}
 Source0:        %{gosource}
+Patch:		fix-go-vet-errors.patch
 
 %description
 %{common_description}
@@ -31,6 +32,7 @@ Source0:        %{gosource}
 
 %prep
 %goprep
+%autopatch -p1
 
 %generate_buildrequires
 %go_generate_buildrequires

                 reply	other threads:[~2026-09-28 13:05 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=179060075761.1.14554174962236715501.rpms-golang-x-mod-949447fb7915@fedoraproject.org \
    --to=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