[packages/gopls] up to 0.21.0
atler
atler at pld-linux.org
Wed Dec 17 20:27:39 CET 2025
commit 44818ab9266f61c7066efa5c9bdbd2b9e301c804
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Dec 17 20:27:04 2025 +0100
up to 0.21.0
gopls.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gopls.spec b/gopls.spec
index 25362ef..f673e2b 100644
--- a/gopls.spec
+++ b/gopls.spec
@@ -1,17 +1,17 @@
-%define vendor_version 0.19.1
+%define vendor_version 0.21.0
Summary: Official Go language server developed by the Go team
Name: gopls
-Version: 0.19.1
+Version: 0.21.0
Release: 1
License: BSD
Group: Development/Tools
Source0: https://github.com/golang/tools/archive/gopls/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 9924b2bd3cfb4efd1cae7f930c5dd35a
+# Source0-md5: 8649f15305aee77a0144eb4d03483c51
Source1: %{name}-vendor-%{vendor_version}.tar.xz
-# Source1-md5: 30b522ac6a3fdcebc05a2de067ad9063
+# Source1-md5: b4f3cd5481fb3a9d3bfbdbc1144d5d9a
URL: https://pkg.go.dev/golang.org/x/tools/gopls
-BuildRequires: golang >= 1.23.0
+BuildRequires: golang >= 1.25.0
BuildRequires: rpmbuild(macros) >= 2.009
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -30,6 +30,8 @@ LSP-compatible editor.
%{__mkdir} .go-cache
+%{__rm} gopls/doc/README.md
+
%build
cd gopls
%__go build -v -mod=vendor -o target/gopls
@@ -45,5 +47,5 @@ cp -p gopls/target/gopls $RPM_BUILD_ROOT%{_bindir}/gopls
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc gopls/doc/*.md gopls/README.md
+%doc gopls/doc/* gopls/README.md
%attr(755,root,root) %{_bindir}/gopls
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gopls.git/commitdiff/44818ab9266f61c7066efa5c9bdbd2b9e301c804
More information about the pld-cvs-commit
mailing list