public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] epel8: Add bash-completion and man pages.
Date: Fri, 06 Nov 2026 05:42:40 GMT	[thread overview]
Message-ID: <179394376093.1.11196533164037666823.rpms-hugo-ae5310d626ff@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/hugo
Branch : epel8
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=epel8

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
 

                 reply	other threads:[~2026-11-06  5:42 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=179394376093.1.11196533164037666823.rpms-hugo-ae5310d626ff@fedoraproject.org \
    --to=quantum.analyst@gmail.com \
    --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