public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel10: De-bootstrap.
@ 2026-11-06 5:39 Elliott Sales de Andrade
0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:39 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 5:39 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:39 [rpms/hugo] epel10: De-bootstrap 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