public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel9: Add bash-completion and man pages.
@ 2026-11-06 5:41 Elliott Sales de Andrade
0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel9
Commit : ae5310d626ff0c8f61a0b63a3f280102ce796a48
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-03-22T03:43:22-04:00
Stats : +11/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/ae5310d626ff0c8f61a0b63a3f280102ce796a48?branch=epel9
Log:
Add bash-completion and man pages.
---
diff --git a/hugo.spec b/hugo.spec
index de77c7e..d2473b2 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -5,7 +5,7 @@ Version: 0.54.0
%gometa
Name: hugo
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
License: ASL 2.0 and MIT
URL: %{gourl}
@@ -120,6 +120,8 @@ sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
%gobuildroot
%gobuild -o _bin/hugo %{goipath}
+_bin/hugo gen autocomplete --completionfile hugo-completion
+_bin/hugo gen man
%install
@@ -127,6 +129,8 @@ sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
install -d -p %{buildroot}%{_bindir}
install -p -m 0755 _bin/hugo %{buildroot}%{_bindir}
+install -Dp hugo-completion %{buildroot}%{_datadir}/bash-completion/completions/hugo
+install -Dp man/* -t %{buildroot}%{_mandir}/man1
%check
@@ -140,6 +144,8 @@ install -p -m 0755 _bin/hugo %{buildroot}%{_bindir}
%doc CONTRIBUTING.md README.md
%license LICENSE
%{_bindir}/hugo
+%{_datadir}/bash-completion/completions/hugo
+%{_mandir}/man1/*.1*
%files -n %{goname}-devel -f devel.file-list
%doc CONTRIBUTING.md README.md
@@ -147,6 +153,10 @@ install -p -m 0755 _bin/hugo %{buildroot}%{_bindir}
%changelog
+* Fri Mar 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-2
+- Add bash-completion
+- Add man pages
+
* Mon Mar 04 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-1
- Update to latest version
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 5:41 [rpms/hugo] epel9: Add bash-completion and man pages Elliott Sales de Andrade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox