public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: W. Michael Petullo <mike@flyn.org>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] epel9: Move from using a subpackage to using a weak dependency for golang-bin approach
Date: Fri, 06 Nov 2026 05:41:36 GMT [thread overview]
Message-ID: <179394369655.1.6768683914140306390.rpms-hugo-8e3da8b8d014@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel9
Commit : 8e3da8b8d01457b10b582af9c34ff2f5c234a1e3
Author : W. Michael Petullo <mike@flyn.org>
Date : 2022-08-02T17:56:19-05:00
Stats : +10/-18 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/8e3da8b8d01457b10b582af9c34ff2f5c234a1e3?branch=epel9
Log:
Move from using a subpackage to using a weak dependency for golang-bin approach
Signed-off-by: W. Michael Petullo <mike@flyn.org>
---
diff --git a/hugo.spec b/hugo.spec
index cbd901e..73b0bca 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -36,22 +36,16 @@ Patch0002: 0020-clbanning-mxj.patch
Patch0003: 0030-nicksnyder-go-i18n.patch
BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.7.0
-Requires: golang-bin
-Requires: hugo-bin
-
-# This is in response to Red Hat Bugzilla #2104346. The full dependencies for
-# Hugo are large, including GCC and the Go toolchain. For example,
-# "hugo server" will not work without these. It might be beneficial to
-# install a smaller package in some instances---such as CI pipelines---that do
-# not require "hugo server". Installing hugo-bin rather than hugo avoids the
-# dependencies.
-%package bin
-Summary: The world’s fastest framework for building websites - binary
-
-%description bin
-%{common_description}
-This package contains only the hugo binary for use in CI.
+# This is in response to Red Hat Bugzilla #2104346. The full dependencies
+# for Hugo are large, including GCC and the Go toolchain. For example,
+# "hugo server" will not work without these. It might be beneficial to avoid
+# such large dependencies in some instances---such as CI pipelines---that
+# do not require "hugo server". Thus golang-bin is a weak dependency.
+#
+# Also see the discussion at https://src.fedoraproject.org/rpms/hugo/pull-request/13.
+Recommends: golang-bin
+
%description
%{common_description}
@@ -122,14 +116,12 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%files
%doc CONTRIBUTING.md README.md docs
%license LICENSE
+%{_bindir}/hugo
%{_datadir}/bash-completion/completions/hugo
%{_mandir}/man1/*.1*
%gopkgfiles
-%files bin
-%license LICENSE
-%{_bindir}/hugo
%changelog
%autochangelog
reply other threads:[~2026-11-06 5:41 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=179394369655.1.6768683914140306390.rpms-hugo-8e3da8b8d014@fedoraproject.org \
--to=mike@flyn.org \
--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