From e809307466f8eb822dd403d5fd5074bc6c7b889d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 9 Feb 2026 21:48:41 -0800 Subject: [PATCH] chore (lazygit): add doc subpackage, some cleanup (#9757) (#9766) --- .../golang-github-jesseduffield-lazygit.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec index d294e34349..99ae6ea9ae 100644 --- a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec +++ b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec @@ -13,7 +13,7 @@ Simple terminal UI for git commands.} %global godocs docs README.md VISION.md Name: golang-github-jesseduffield-lazygit -Release: 1%?dist +Release: 2%?dist Summary: Simple terminal UI for git commands License: MIT @@ -23,10 +23,19 @@ Packager: sadlerm BuildRequires: anda-srpm-macros -Provides: lazygit = %{version}-%{release} +Provides: lazygit = %{evr} %description %{common_description} + +%package doc +Summary: Documentations for %{name} +Requires: %{name} = %{evr} +BuildArch: noarch + +%description doc +%{summary}. + %gopkg %prep @@ -43,5 +52,8 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %files %license LICENSE -%doc docs README.md VISION.md +%doc README.md %{_bindir}/lazygit + +%files doc +%doc docs/ VISION.md CONTRIBUTING.md CODE-OF-CONDUCT.md