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] epel10: De-bootstrap.
Date: Fri, 06 Nov 2026 05:39:37 GMT [thread overview]
Message-ID: <179394357771.1.7963556585594373767.rpms-hugo-80730254b8fe@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel10
Commit : 80730254b8feaf8d80294f8634fcd2b55329b3bc
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2020-04-19T00:32:20-04:00
Stats : +24/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/80730254b8feaf8d80294f8634fcd2b55329b3bc?branch=epel10
Log:
De-bootstrap.
---
diff --git a/0006-skip-TestHugoModulesTargetInSubFolder.patch b/0006-skip-TestHugoModulesTargetInSubFolder.patch
new file mode 100644
index 0000000..848149a
--- /dev/null
+++ b/0006-skip-TestHugoModulesTargetInSubFolder.patch
@@ -0,0 +1,19 @@
+Description: Skip TestHugoModulesTargetInSubFolder in hugolib/hugo_modules_test.go
+ TestHugoModulesTargetInSubFolder requires network access which is
+ not allowed during Debian package build.
+Author: Anthony Fok <foka@debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2020-02-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/hugolib/hugo_modules_test.go
++++ b/hugolib/hugo_modules_test.go
+@@ -40,6 +40,7 @@
+
+ // https://github.com/gohugoio/hugo/issues/6730
+ func TestHugoModulesTargetInSubFolder(t *testing.T) {
++ t.Skip("Skip test as network is inaccessible during Debian package build")
+ config := `
+ baseURL="https://example.org"
+ workingDir = %q
diff --git a/hugo.spec b/hugo.spec
index b264216..2de1335 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,6 +1,6 @@
%bcond_without check
# Some tests use a package that uses this.
-%bcond_without bootstrap
+%bcond_with bootstrap
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
@@ -24,10 +24,11 @@ Summary: The world’s fastest framework for building websites
License: ASL 2.0 and MIT
URL: %{gourl}
Source0: %{gosource}
-# Skip test that uses the network.
+# Skip tests that uses the network.
Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
+Patch0002: https://sources.debian.org/data/main/h/hugo/0.69.0-1/debian/patches/0006-skip-TestHugoModulesTargetInSubFolder.patch
# Fix error message that changed in gocloud.
-Patch0002: 0001-Update-error-message.patch
+Patch0003: 0001-Update-error-message.patch
BuildRequires: golang(github.com/alecthomas/chroma) >= 0.7.1
BuildRequires: golang(github.com/alecthomas/chroma/formatters/html)
@@ -134,6 +135,7 @@ BuildRequires: rubygem-asciidoctor
%patch0001 -p1
%patch0002 -p1
+%patch0003 -p1
# Replace blackfriday import path to avoid conflict with v2
# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
reply other threads:[~2026-11-06 5:39 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=179394357771.1.7963556585594373767.rpms-hugo-80730254b8fe@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