public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : bf3dfac003e2d97a2dda3d00545dbda25a40846c
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-04-24T19:31:28-04:00
Stats : +6/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/bf3dfac003e2d97a2dda3d00545dbda25a40846c?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 1f7fe2b..abd57e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/hugo-0.54.0.tar.gz
/hugo-0.55.0.tar.gz
/hugo-0.55.1.tar.gz
+/hugo-0.55.3.tar.gz
diff --git a/hugo.spec b/hugo.spec
index 9900e74..ea2c5d9 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,6 +1,6 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.55.1
+Version: 0.55.3
%gometa
@@ -148,6 +148,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Wed Apr 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.3-1
+- Update to latest version
+
* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.1-1
- Update to latest version
diff --git a/sources b/sources
index a38d931..cb4098f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.55.1.tar.gz) = 7bf2e602635a88aa5c76f39a6b6d47699f47d886e9a3575f080a2f30dfdc5537ca59e30bb7458bab064e806d09ac4dd9b8dca52e6ea9478128169714eabd567f
+SHA512 (hugo-0.55.3.tar.gz) = fc20b5ea6549b455ab8cd91a34d4b31241d3c97f5035d24d466424bcdb2733892dcb6c289f94ade72d24fd9aa50270f7970815f113d7c2c20ad96cf0df2a71fd
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : b39ee36c37c3839365e04d52289fcfbb2aa23f7a
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2020-04-08T16:16:55-04:00
Stats : +81/-4 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/b39ee36c37c3839365e04d52289fcfbb2aa23f7a?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index bf2f76f..f7c7dca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@
/hugo-0.59.1.tar.gz
/hugo-0.65.2.tar.gz
/hugo-0.65.3.tar.gz
+/hugo-0.68.3.tar.gz
diff --git a/0001-Update-error-message.patch b/0001-Update-error-message.patch
index 2a2cb3e..a329ac1 100644
--- a/0001-Update-error-message.patch
+++ b/0001-Update-error-message.patch
@@ -1,7 +1,7 @@
-From b8ad4219b9ef1a9520d6b26e59bfc899af64f633 Mon Sep 17 00:00:00 2001
+From 0e066bfe26fa2e37a00afc269d096e54ad27c657 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 18 Feb 2020 06:24:23 -0500
-Subject: [PATCH] Update error message.
+Subject: [PATCH 1/2] Update error message.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
diff --git a/0002-Update-to-latest-emoji-package.patch b/0002-Update-to-latest-emoji-package.patch
new file mode 100644
index 0000000..8061efc
--- /dev/null
+++ b/0002-Update-to-latest-emoji-package.patch
@@ -0,0 +1,70 @@
+From 380e16e5e1330f383b75498b1d376cfa94270765 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Wed, 8 Apr 2020 06:06:03 -0400
+Subject: [PATCH 2/2] Update to latest emoji package.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ go.mod | 2 +-
+ go.sum | 4 ++--
+ tpl/transform/init.go | 2 +-
+ tpl/transform/transform_test.go | 2 +-
+ 4 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/go.mod b/go.mod
+index 5c011d10..6ef686a1 100644
+--- a/go.mod
++++ b/go.mod
+@@ -24,7 +24,7 @@ require (
+ github.com/gorilla/websocket v1.4.1
+ github.com/jdkato/prose v1.1.1
+ github.com/kr/pretty v0.2.0 // indirect
+- github.com/kyokomi/emoji v2.1.0+incompatible
++ github.com/kyokomi/emoji v2.2.1+incompatible
+ github.com/magefile/mage v1.9.0
+ github.com/markbates/inflect v1.0.0
+ github.com/mattn/go-isatty v0.0.11
+diff --git a/go.sum b/go.sum
+index 583ba064..eb2affad 100644
+--- a/go.sum
++++ b/go.sum
+@@ -219,8 +219,8 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
+ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+-github.com/kyokomi/emoji v2.1.0+incompatible h1:+DYU2RgpI6OHG4oQkM5KlqD3Wd3UPEsX8jamTo1Mp6o=
+-github.com/kyokomi/emoji v2.1.0+incompatible/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
++github.com/kyokomi/emoji v2.2.1+incompatible h1:uP/6J5y5U0XxPh6fv8YximpVD1uMrshXG78I1+uF5SA=
++github.com/kyokomi/emoji v2.2.1+incompatible/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
+ github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
+ github.com/magefile/mage v1.9.0 h1:t3AU2wNwehMCW97vuqQLtw6puppWXHO+O2MHo5a50XE=
+ github.com/magefile/mage v1.9.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
+diff --git a/tpl/transform/init.go b/tpl/transform/init.go
+index 2783a513..62cb0a9c 100644
+--- a/tpl/transform/init.go
++++ b/tpl/transform/init.go
+@@ -32,7 +32,7 @@ func init() {
+ ns.AddMethodMapping(ctx.Emojify,
+ []string{"emojify"},
+ [][2]string{
+- {`{{ "I :heart: Hugo" | emojify }}`, `I ❤ Hugo`},
++ {`{{ "I :heart: Hugo" | emojify }}`, `I ❤️ Hugo`},
+ },
+ )
+
+diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go
+index d10ff585..b3f4206f 100644
+--- a/tpl/transform/transform_test.go
++++ b/tpl/transform/transform_test.go
+@@ -44,7 +44,7 @@ func TestEmojify(t *testing.T) {
+ expect interface{}
+ }{
+ {":notamoji:", template.HTML(":notamoji:")},
+- {"I :heart: Hugo", template.HTML("I ❤ Hugo")},
++ {"I :heart: Hugo", template.HTML("I ❤️ Hugo")},
+ // errors
+ {tstNoStringer{}, false},
+ } {
+--
+2.21.1
+
diff --git a/hugo.spec b/hugo.spec
index 9fa116b..d529de6 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -4,7 +4,7 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.65.3
+Version: 0.68.3
%gometa
@@ -28,6 +28,8 @@ Source0: %{gosource}
Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
# Fix error message that changed in gocloud.
Patch0002: 0001-Update-error-message.patch
+# Update emoji test results
+Patch0003: 0002-Update-to-latest-emoji-package.patch
BuildRequires: golang(github.com/alecthomas/chroma) >= 0.7.1
BuildRequires: golang(github.com/alecthomas/chroma/formatters/html)
@@ -135,6 +137,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
@@ -188,6 +191,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Wed Apr 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.68.3-1
+- Update to latest version
+
* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.65.3-1
- Update to latest version
diff --git a/sources b/sources
index 95a310b..842b616 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.65.3.tar.gz) = 928beafceffc8491c335c5704b1c4c92917bb615d168b4c64f9d40ce44baa6780cb5d0988ac38d46f8e297761ca17e5e9e84c5eddfb7fcce8639c6704b3a5d6e
+SHA512 (hugo-0.68.3.tar.gz) = 31df8d69fe21c52b6d0676c62c81d07bad45660d985d9942aaef15242eae747f12eaf5c78ca11ee92a354c110aacaa2e3bab816455ca5bafc9ea4d2f10cf058f
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : b1b5bad40ba7b5a1566a751be1c3423aba70d075
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2020-02-24T02:16:35-05:00
Stats : +6/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/b1b5bad40ba7b5a1566a751be1c3423aba70d075?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 7375382..bf2f76f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
/hugo-0.59.0.tar.gz
/hugo-0.59.1.tar.gz
/hugo-0.65.2.tar.gz
+/hugo-0.65.3.tar.gz
diff --git a/hugo.spec b/hugo.spec
index 84fe418..9fa116b 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -4,7 +4,7 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.65.2
+Version: 0.65.3
%gometa
@@ -188,6 +188,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.65.3-1
+- Update to latest version
+
* Sat Feb 22 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.65.2-1
- Update to latest version
diff --git a/sources b/sources
index bf68db0..95a310b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.65.2.tar.gz) = 5de2cfafb7c426f1cc09e26392260e998df99c704b17e8280546cacbe02dbc9696cedbe8b5a120b915c8499c69395eaf0e46007c8727ba393b04c164541ab85e
+SHA512 (hugo-0.65.3.tar.gz) = 928beafceffc8491c335c5704b1c4c92917bb615d168b4c64f9d40ce44baa6780cb5d0988ac38d46f8e297761ca17e5e9e84c5eddfb7fcce8639c6704b3a5d6e
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 96a14caf85ed50dc4a9c59f9d27abba8d7127b0e
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2020-02-22T22:10:45-05:00
Stats : +95/-55 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/96a14caf85ed50dc4a9c59f9d27abba8d7127b0e?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 537bce2..7375382 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/hugo-0.58.3.tar.gz
/hugo-0.59.0.tar.gz
/hugo-0.59.1.tar.gz
+/hugo-0.65.2.tar.gz
diff --git a/0001-Update-error-message.patch b/0001-Update-error-message.patch
new file mode 100644
index 0000000..2a2cb3e
--- /dev/null
+++ b/0001-Update-error-message.patch
@@ -0,0 +1,26 @@
+From b8ad4219b9ef1a9520d6b26e59bfc899af64f633 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Tue, 18 Feb 2020 06:24:23 -0500
+Subject: [PATCH] Update error message.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ commands/commands_test.go | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/commands/commands_test.go b/commands/commands_test.go
+index 3b194489..e45174ba 100644
+--- a/commands/commands_test.go
++++ b/commands/commands_test.go
+@@ -90,7 +90,7 @@ func TestExecute(t *testing.T) {
+ defer clean()
+ resp := Execute([]string{"deploy", "-s=" + dir, "-e=staging", "--target=mydeployment", "--dryRun"})
+ c.Assert(resp.Err, qt.Not(qt.IsNil))
+- c.Assert(resp.Err.Error(), qt.Contains, `no provider registered for "hugocloud"`)
++ c.Assert(resp.Err.Error(), qt.Contains, `no driver registered for "hugocloud"`)
+ })
+
+ c.Run("list", func(c *qt.C) {
+--
+2.21.1
+
diff --git a/hugo.spec b/hugo.spec
index b04b531..84fe418 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -4,7 +4,7 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.59.1
+Version: 0.65.2
%gometa
@@ -17,7 +17,7 @@ and templates and renders them into a full HTML website.}
%global godocs docs examples README.md CONTRIBUTING.md
Name: hugo
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: The world’s fastest framework for building websites
# Upstream license specification: Apache-2.0 and MIT
@@ -26,67 +26,76 @@ URL: %{gourl}
Source0: %{gosource}
# Skip test that uses the network.
Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
+# Fix error message that changed in gocloud.
+Patch0002: 0001-Update-error-message.patch
-BuildRequires: golang(github.com/alecthomas/chroma)
-BuildRequires: golang(github.com/alecthomas/chroma/formatters)
+BuildRequires: golang(github.com/alecthomas/chroma) >= 0.7.1
BuildRequires: golang(github.com/alecthomas/chroma/formatters/html)
BuildRequires: golang(github.com/alecthomas/chroma/lexers)
BuildRequires: golang(github.com/alecthomas/chroma/styles)
-BuildRequires: golang(github.com/armon/go-radix)
-BuildRequires: golang(github.com/aws/aws-sdk-go/aws)
+BuildRequires: golang(github.com/armon/go-radix) >= 1.0.0
+BuildRequires: golang(github.com/aws/aws-sdk-go/aws) >= 1.27.1
BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session)
BuildRequires: golang(github.com/aws/aws-sdk-go/service/cloudfront)
-BuildRequires: golang(github.com/bep/debounce)
-BuildRequires: golang(github.com/bep/gitmap)
-BuildRequires: golang(github.com/bep/go-tocss/scss)
-BuildRequires: golang(github.com/bep/tmc)
+BuildRequires: golang(github.com/bep/debounce) >= 1.2.0
+BuildRequires: golang(github.com/bep/gitmap) >= 1.1.1
+BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.5.0
+BuildRequires: golang(github.com/bep/tmc) >= 0.5.1
BuildRequires: golang(github.com/BurntSushi/locker)
-BuildRequires: golang(github.com/BurntSushi/toml)
-BuildRequires: golang(github.com/disintegration/gift)
-BuildRequires: golang(github.com/dustin/go-humanize)
-BuildRequires: golang(github.com/eknkc/amber)
-BuildRequires: golang(github.com/frankban/quicktest)
-BuildRequires: golang(github.com/fsnotify/fsnotify)
-BuildRequires: golang(github.com/gobwas/glob)
+BuildRequires: golang(github.com/BurntSushi/toml) >= 0.3.1
+BuildRequires: golang(github.com/disintegration/gift) >= 1.2.1
+BuildRequires: golang(github.com/dustin/go-humanize) >= 1.0.0
+BuildRequires: golang(github.com/frankban/quicktest) >= 1.7.2
+BuildRequires: golang(github.com/fsnotify/fsnotify) >= 1.4.7
+BuildRequires: golang(github.com/gobwas/glob) >= 0.2.3
BuildRequires: golang(github.com/gobwas/glob/syntax)
BuildRequires: golang(github.com/google/go-cmp/cmp)
-BuildRequires: golang(github.com/gorilla/websocket)
-BuildRequires: golang(github.com/jdkato/prose/transform)
-BuildRequires: golang(github.com/kyokomi/emoji)
-BuildRequires: golang(github.com/markbates/inflect)
-BuildRequires: golang(github.com/mattn/go-isatty)
-BuildRequires: golang(github.com/miekg/mmark)
-BuildRequires: golang(github.com/mitchellh/hashstructure)
-BuildRequires: golang(github.com/mitchellh/mapstructure)
-BuildRequires: golang(github.com/muesli/smartcrop)
-BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/bundle)
+BuildRequires: golang(github.com/gorilla/websocket) >= 1.4.1
+BuildRequires: golang(github.com/jdkato/prose/transform) >= 1.1.1
+BuildRequires: golang(github.com/kyokomi/emoji) >= 2.1.0
+BuildRequires: golang(github.com/markbates/inflect) >= 1.0.0
+BuildRequires: golang(github.com/mattn/go-isatty) >= 0.0.11
+BuildRequires: golang(github.com/miekg/mmark) >= 1.3.6
+BuildRequires: golang(github.com/mitchellh/hashstructure) >= 1.0.0
+BuildRequires: golang(github.com/mitchellh/mapstructure) >= 1.1.2
+BuildRequires: golang(github.com/muesli/smartcrop) >= 0.3.0
+BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/bundle) >= 1.10.0
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/language)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/translation)
-BuildRequires: golang(github.com/niklasfasching/go-org/org)
-BuildRequires: golang(github.com/olekukonko/tablewriter)
-BuildRequires: golang(github.com/pkg/errors)
-BuildRequires: golang(github.com/PuerkitoBio/purell)
-BuildRequires: golang(github.com/rogpeppe/go-internal/module)
-BuildRequires: golang(gopkg.in/russross/blackfriday.v1)
+BuildRequires: golang(github.com/niklasfasching/go-org/org) >= 1.0.0
+BuildRequires: golang(github.com/olekukonko/tablewriter) >= 0.0.4
+BuildRequires: golang(github.com/pkg/errors) >= 0.8.1
+BuildRequires: golang(github.com/PuerkitoBio/purell) >= 1.1.1
+BuildRequires: golang(github.com/rogpeppe/go-internal/module) >= 1.5.1
+BuildRequires: golang(gopkg.in/russross/blackfriday.v1) >= 1.5.2
BuildRequires: golang(github.com/rwcarlsen/goexif/exif)
BuildRequires: golang(github.com/rwcarlsen/goexif/tiff)
-BuildRequires: golang(github.com/spf13/afero)
-BuildRequires: golang(github.com/spf13/cast)
-BuildRequires: golang(github.com/spf13/cobra)
+BuildRequires: golang(github.com/spf13/afero) >= 1.2.2
+BuildRequires: golang(github.com/spf13/cast) >= 1.3.1
+BuildRequires: golang(github.com/spf13/cobra) >= 0.0.5
BuildRequires: golang(github.com/spf13/cobra/doc)
-BuildRequires: golang(github.com/spf13/fsync)
-BuildRequires: golang(github.com/spf13/jwalterweatherman)
-BuildRequires: golang(github.com/spf13/pflag)
-BuildRequires: golang(github.com/spf13/viper)
-BuildRequires: (golang(github.com/tdewolff/minify) >= 2 with golang(github.com/tdewolff/minify) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/css) >= 2 with golang(github.com/tdewolff/minify/css) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/html) >= 2 with golang(github.com/tdewolff/minify/html) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/js) >= 2 with golang(github.com/tdewolff/minify/js) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/json) >= 2 with golang(github.com/tdewolff/minify/json) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/svg) >= 2 with golang(github.com/tdewolff/minify/svg) < 3)
-BuildRequires: (golang(github.com/tdewolff/minify/xml) >= 2 with golang(github.com/tdewolff/minify/xml) < 3)
-BuildRequires: golang(github.com/yosssi/ace)
-BuildRequires: golang(gocloud.dev/blob)
+BuildRequires: golang(github.com/spf13/fsync) >= 0.9.0
+BuildRequires: golang(github.com/spf13/jwalterweatherman) >= 1.1.0
+BuildRequires: golang(github.com/spf13/pflag) >= 1.0.5
+BuildRequires: golang(github.com/spf13/viper) >= 1.6.1
+BuildRequires: (golang(github.com/tdewolff/minify) >= 2.6.1 with golang(github.com/tdewolff/minify) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/css) >= 2.6.1 with golang(github.com/tdewolff/minify/css) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/html) >= 2.6.1 with golang(github.com/tdewolff/minify/html) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/js) >= 2.6.1 with golang(github.com/tdewolff/minify/js) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/json) >= 2.6.1 with golang(github.com/tdewolff/minify/json) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/svg) >= 2.6.1 with golang(github.com/tdewolff/minify/svg) < 3)
+BuildRequires: (golang(github.com/tdewolff/minify/xml) >= 2.6.1 with golang(github.com/tdewolff/minify/xml) < 3)
+BuildRequires: golang(github.com/yuin/goldmark) >= 1.1.22
+BuildRequires: golang(github.com/yuin/goldmark-highlighting)
+BuildRequires: golang(github.com/yuin/goldmark/ast)
+BuildRequires: golang(github.com/yuin/goldmark/extension)
+BuildRequires: golang(github.com/yuin/goldmark/parser)
+BuildRequires: golang(github.com/yuin/goldmark/renderer)
+BuildRequires: golang(github.com/yuin/goldmark/renderer/html)
+BuildRequires: golang(github.com/yuin/goldmark/text)
+BuildRequires: golang(github.com/yuin/goldmark/util)
+BuildRequires: golang(go.uber.org/atomic) >= 1.4.0
+BuildRequires: golang(gocloud.dev/blob) >= 0.15.0
BuildRequires: golang(gocloud.dev/blob/azureblob)
BuildRequires: golang(gocloud.dev/blob/fileblob)
BuildRequires: golang(gocloud.dev/blob/gcsblob)
@@ -96,19 +105,20 @@ BuildRequires: golang(golang.org/x/image/tiff)
BuildRequires: golang(golang.org/x/image/webp)
BuildRequires: golang(golang.org/x/sync/errgroup)
BuildRequires: golang(golang.org/x/sync/semaphore)
-BuildRequires: golang(golang.org/x/text/runes)
+BuildRequires: golang(golang.org/x/text/runes) >= 0.3.2
BuildRequires: golang(golang.org/x/text/transform)
BuildRequires: golang(golang.org/x/text/unicode/norm)
-BuildRequires: golang(gopkg.in/yaml.v2)
+BuildRequires: golang(google.golang.org/api/compute/v1) >= 0.5.0
+BuildRequires: golang(gopkg.in/yaml.v2) >= 2.2.7
%if %{with check}
# Tests
-BuildRequires: golang(github.com/fortytw2/leaktest)
+BuildRequires: golang(github.com/fortytw2/leaktest) >= 1.3.0
%if %{without bootstrap}
BuildRequires: golang(github.com/gohugoio/testmodBuilder/mods)
%endif
BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts)
-BuildRequires: golang(github.com/sanity-io/litter)
+BuildRequires: golang(github.com/sanity-io/litter) >= 1.2.0
BuildRequires: golang(gocloud.dev/blob/memblob)
BuildRequires: python3-docutils
BuildRequires: python3-pygments
@@ -120,11 +130,11 @@ BuildRequires: rubygem-asciidoctor
%gopkg
-
%prep
%goprep
%patch0001 -p1
+%patch0002 -p1
# Replace blackfriday import path to avoid conflict with v2
# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
@@ -178,6 +188,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Sat Feb 22 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.65.2-1
+- Update to latest version
+
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.59.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index 9548d23..bf68db0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.59.1.tar.gz) = 850ca17e7c8c861baabf149fe3f28100b11053b3ad544b562ec52c093207e9b008517400ca0c41f3f4013a10021e009c2abdaef29304878b714e763129228fdd
+SHA512 (hugo-0.65.2.tar.gz) = 5de2cfafb7c426f1cc09e26392260e998df99c704b17e8280546cacbe02dbc9696cedbe8b5a120b915c8499c69395eaf0e46007c8727ba393b04c164541ab85e
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 1df337fa28a186bef4a045138368768752080aea
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-11-01T01:11:00-04:00
Stats : +7/-296 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/1df337fa28a186bef4a045138368768752080aea?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 8ed7d97..537bce2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,5 @@
/hugo-0.55.5.tar.gz
/hugo-0.55.6.tar.gz
/hugo-0.58.3.tar.gz
+/hugo-0.59.0.tar.gz
+/hugo-0.59.1.tar.gz
diff --git a/0001-Fix-tests-against-latest-emoji-package.patch b/0001-Fix-tests-against-latest-emoji-package.patch
deleted file mode 100644
index 09d23fd..0000000
--- a/0001-Fix-tests-against-latest-emoji-package.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 08194c053448050910e3875065e7aa29c760e971 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Fri, 1 Mar 2019 18:47:19 -0500
-Subject: [PATCH] Fix tests against latest emoji package.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- docs/data/docs.json | 2 +-
- tpl/transform/init.go | 2 +-
- tpl/transform/transform_test.go | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/docs/data/docs.json b/docs/data/docs.json
-index 03bb0357..1f21646f 100644
---- a/docs/data/docs.json
-+++ b/docs/data/docs.json
-@@ -4109,7 +4109,7 @@
- "Examples": [
- [
- "{{ \"I :heart: Hugo\" | emojify }}",
-- "I ❤️ Hugo"
-+ "I ❤ Hugo"
- ]
- ]
- },
-diff --git a/tpl/transform/init.go b/tpl/transform/init.go
-index 62cb0a9c..2783a513 100644
---- a/tpl/transform/init.go
-+++ b/tpl/transform/init.go
-@@ -32,7 +32,7 @@ func init() {
- ns.AddMethodMapping(ctx.Emojify,
- []string{"emojify"},
- [][2]string{
-- {`{{ "I :heart: Hugo" | emojify }}`, `I ❤️ Hugo`},
-+ {`{{ "I :heart: Hugo" | emojify }}`, `I ❤ Hugo`},
- },
- )
-
-diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go
-index 13c4bbc2..10b020a0 100644
---- a/tpl/transform/transform_test.go
-+++ b/tpl/transform/transform_test.go
-@@ -40,7 +40,7 @@ func TestEmojify(t *testing.T) {
- expect interface{}
- }{
- {":notamoji:", template.HTML(":notamoji:")},
-- {"I :heart: Hugo", template.HTML("I ❤️ Hugo")},
-+ {"I :heart: Hugo", template.HTML("I ❤ Hugo")},
- // errors
- {tstNoStringer{}, false},
- } {
---
-2.21.0
-
diff --git a/6385.patch b/6385.patch
deleted file mode 100644
index 90e406d..0000000
--- a/6385.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From d64e9611109b2eb6de42a47d497cba313252a838 Mon Sep 17 00:00:00 2001
-From: Anthony Fok <foka@debian.org>
-Date: Wed, 2 Oct 2019 23:40:22 -0600
-Subject: [PATCH] resources: Ensure same dirinfos sort order in
- TestImageOperationsGolden
-
-Fix filename mismatch errors on Debian auto-building machines
-possibly due to different directory order on ext4 vs tmpfs file systems.
----
- resources/image_test.go | 11 +++--------
- 1 file changed, 3 insertions(+), 8 deletions(-)
-
-diff --git a/resources/image_test.go b/resources/image_test.go
-index 5fa5021c95..169f19522e 100644
---- a/resources/image_test.go
-+++ b/resources/image_test.go
-@@ -15,6 +15,7 @@ package resources
-
- import (
- "fmt"
-+ "io/ioutil"
- "math/big"
- "math/rand"
- "os"
-@@ -567,15 +568,9 @@ func TestImageOperationsGolden(t *testing.T) {
- dir2 := filepath.FromSlash("testdata/golden")
-
- // The two dirs above should now be the same.
-- d1, err := os.Open(dir1)
-+ dirinfos1, err := ioutil.ReadDir(dir1)
- c.Assert(err, qt.IsNil)
-- d2, err := os.Open(dir2)
-- c.Assert(err, qt.IsNil)
--
-- dirinfos1, err := d1.Readdir(-1)
-- c.Assert(err, qt.IsNil)
-- dirinfos2, err := d2.Readdir(-1)
--
-+ dirinfos2, err := ioutil.ReadDir(dir2)
- c.Assert(err, qt.IsNil)
- c.Assert(len(dirinfos1), qt.Equals, len(dirinfos2))
-
diff --git a/6396.patch b/6396.patch
deleted file mode 100644
index b1994b8..0000000
--- a/6396.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 7b2d87787cb57019e818581693cadd0cdc289999 Mon Sep 17 00:00:00 2001
-From: Anthony Fok <foka@debian.org>
-Date: Mon, 7 Oct 2019 12:35:00 -0600
-Subject: [PATCH] resources: Fix image test error on s390x, ppc64* and arm64
-
-In TestImageOperationsGolden, tolerate slight floating-point rounding
-differences due to the use or non-use of "fused multiply and add" (FMA)
-instruction on different architectures.
-
-Special thanks to @disintegration for the solution in goldenEqual();
-see https://github.com/disintegration/gift/issues/20
-
-Fixes #6387
----
- resources/image_test.go | 83 ++++++++++++++++++++++++++++++++++++++---
- 1 file changed, 78 insertions(+), 5 deletions(-)
-
-diff --git a/resources/image_test.go b/resources/image_test.go
-index 169f19522e..4b88b7aa12 100644
---- a/resources/image_test.go
-+++ b/resources/image_test.go
-@@ -15,6 +15,7 @@ package resources
-
- import (
- "fmt"
-+ "image"
- "io/ioutil"
- "math/big"
- "math/rand"
-@@ -22,6 +23,7 @@ import (
- "path"
- "path/filepath"
- "regexp"
-+ "runtime"
- "strconv"
- "sync"
- "testing"
-@@ -478,6 +480,47 @@ func BenchmarkImageExif(b *testing.B) {
-
- }
-
-+// usesFMA indicates whether "fused multiply and add" (FMA) instruction is
-+// used. The command "grep FMADD go/test/codegen/floats.go" can help keep
-+// the FMA-using architecture list updated.
-+var usesFMA = runtime.GOARCH == "s390x" ||
-+ runtime.GOARCH == "ppc64" ||
-+ runtime.GOARCH == "ppc64le" ||
-+ runtime.GOARCH == "arm64"
-+
-+// goldenEqual compares two NRGBA images. It is used in golden tests only.
-+// A small tolerance is allowed on architectures using "fused multiply and add"
-+// (FMA) instruction to accommodate for floating-point rounding differences
-+// with control golden images that were generated on amd64 architecture.
-+// See https://golang.org/ref/spec#Floating_point_operators
-+// and https://github.com/gohugoio/hugo/issues/6387 for more information.
-+//
-+// Borrowed from https://github.com/disintegration/gift/blob/a999ff8d5226e5ab14b64a94fca07c4ac3f357cf/gift_test.go#L598-L625
-+// Copyright (c) 2014-2019 Grigory Dryapak
-+// Licensed under the MIT License.
-+func goldenEqual(img1, img2 *image.NRGBA) bool {
-+ maxDiff := 0
-+ if usesFMA {
-+ maxDiff = 1
-+ }
-+ if !img1.Rect.Eq(img2.Rect) {
-+ return false
-+ }
-+ if len(img1.Pix) != len(img2.Pix) {
-+ return false
-+ }
-+ for i := 0; i < len(img1.Pix); i++ {
-+ diff := int(img1.Pix[i]) - int(img2.Pix[i])
-+ if diff < 0 {
-+ diff = -diff
-+ }
-+ if diff > maxDiff {
-+ return false
-+ }
-+ }
-+ return true
-+}
-+
- func TestImageOperationsGolden(t *testing.T) {
- c := qt.New(t)
- c.Parallel()
-@@ -580,21 +623,51 @@ func TestImageOperationsGolden(t *testing.T) {
- }
- fi2 := dirinfos2[i]
- c.Assert(fi1.Name(), qt.Equals, fi2.Name())
-- c.Assert(fi1, eq, fi2)
-+
- f1, err := os.Open(filepath.Join(dir1, fi1.Name()))
- c.Assert(err, qt.IsNil)
- f2, err := os.Open(filepath.Join(dir2, fi2.Name()))
- c.Assert(err, qt.IsNil)
-
-- hash1, err := helpers.MD5FromReader(f1)
-+ img1, _, err := image.Decode(f1)
- c.Assert(err, qt.IsNil)
-- hash2, err := helpers.MD5FromReader(f2)
-+ img2, _, err := image.Decode(f2)
- c.Assert(err, qt.IsNil)
-
-+ nrgba1 := image.NewNRGBA(img1.Bounds())
-+ gift.New().Draw(nrgba1, img1)
-+ nrgba2 := image.NewNRGBA(img2.Bounds())
-+ gift.New().Draw(nrgba2, img2)
-+
-+ if !goldenEqual(nrgba1, nrgba2) {
-+ switch fi1.Name() {
-+ case "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_4c320010919da2d8b63ed24818b4d8e1.png",
-+ "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_9d4c2220235b3c2d9fa6506be571560f.png",
-+ "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_c74bb417b961e09cf1aac2130b7b9b85.png":
-+ c.Log("expectedly differs from golden due to dithering:", fi1.Name())
-+ default:
-+ t.Errorf("resulting image differs from golden: %s", fi1.Name())
-+ }
-+ }
-+
-+ if !usesFMA {
-+ c.Assert(fi1, eq, fi2)
-+
-+ _, err = f1.Seek(0, 0)
-+ c.Assert(err, qt.IsNil)
-+ _, err = f2.Seek(0, 0)
-+ c.Assert(err, qt.IsNil)
-+
-+ hash1, err := helpers.MD5FromReader(f1)
-+ c.Assert(err, qt.IsNil)
-+ hash2, err := helpers.MD5FromReader(f2)
-+ c.Assert(err, qt.IsNil)
-+
-+ c.Assert(hash1, qt.Equals, hash2)
-+ }
-+
- f1.Close()
- f2.Close()
--
-- c.Assert(hash1, qt.Equals, hash2)
- }
-
- }
diff --git a/6403.patch b/6403.patch
deleted file mode 100644
index d1e6b27..0000000
--- a/6403.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From e825481e553e5a2d60ccbd9930da9060d12cff3d Mon Sep 17 00:00:00 2001
-From: Anthony Fok <foka@debian.org>
-Date: Tue, 8 Oct 2019 23:46:04 -0600
-Subject: [PATCH] deps: Update minify to v2.5.2
-
-- v2.5.1 removes import comments, solving a build error with Go 1.13
- in GOPATH mode (used Debian packaging for example)
-- v2.5.2 no longer converts polyline/rect/polygon/line to path
- as it has been reported to break a SVG referenced by CSS,
- see tdewolff/minify#260
-
-The test case for Min SVG in TestResourceChains is updated accordingly.
-
-Fixes pocc/tshark.dev#33
----
- go.mod | 2 +-
- go.sum | 12 ++++++------
- hugolib/resource_chain_test.go | 6 +++---
- 3 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/hugolib/resource_chain_test.go b/hugolib/resource_chain_test.go
-index 138e7a4a28..10539d1bb2 100644
---- a/hugolib/resource_chain_test.go
-+++ b/hugolib/resource_chain_test.go
-@@ -342,8 +342,8 @@ Min HTML: {{ ( resources.Get "mydata/html1.html" | resources.Minify ).Content |
- b.AssertFileContent("public/index.html", `Min JS: var x;x=5;document.getElementById("demo").innerHTML=x*10;`)
- b.AssertFileContent("public/index.html", `Min JSON: {"employees":[{"firstName":"John","lastName":"Doe"},{"firstName":"Anna","lastName":"Smith"},{"firstName":"Peter","lastName":"Jones"}]}`)
- b.AssertFileContent("public/index.html", `Min XML: <hello><world>Hugo Rocks!</<world></hello>`)
-- b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
-- b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
-+ b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
-+ b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
- b.AssertFileContent("public/index.html", `Min HTML: <html><a href=#>Cool</a></html>`)
- }},
-
-@@ -580,7 +580,7 @@ document.getElementById("demo").innerHTML = x * 10;
-
- b.WithSourceFile(filepath.Join("assets", "mydata", "svg1.svg"), `
- <svg height="100" width="100">
-- <line x1="5" y1="10" x2="20" y2="40"/>
-+ <path d="M 100 100 L 300 100 L 200 100 z"/>
- </svg>
- `)
-
diff --git a/hugo.spec b/hugo.spec
index d8fd95d..e2e8b3d 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -4,7 +4,7 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.58.3
+Version: 0.59.1
%gometa
@@ -26,14 +26,6 @@ URL: %{gourl}
Source0: %{gosource}
# Skip test that uses the network.
Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
-# Fix build against golang-github-kyokomi-emoji 2.1
-Patch0002: 0001-Fix-tests-against-latest-emoji-package.patch
-# Fix build against golang-github-tdewolff-minify 2.5.2
-Patch0003: https://github.com/gohugoio/hugo/pull/6403.patch
-# Fix test susceptible to inconsistent directory order.
-Patch0004: https://github.com/gohugoio/hugo/pull/6385.patch
-# Fix image tests on other arches.
-Patch0005: https://github.com/gohugoio/hugo/pull/6396.patch
BuildRequires: golang(github.com/alecthomas/chroma)
BuildRequires: golang(github.com/alecthomas/chroma/formatters)
@@ -133,10 +125,6 @@ BuildRequires: rubygem-asciidoctor
%goprep
%patch0001 -p1
-%patch0002 -p1
-%patch0003 -p1
-%patch0004 -p1
-%patch0005 -p1
# Replace blackfriday import path to avoid conflict with v2
# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
@@ -190,6 +178,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Fri Nov 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.59.1-1
+- Update to latest version
+
* Wed Oct 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.58.3-1
- Update to latest version
diff --git a/sources b/sources
index cd911ad..9548d23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.58.3.tar.gz) = eb567c5966532f17a09e50d116077baada398f5440e802395ddfd155270a99ae5377ff208276616089828279365ce680f37014bb211b3c0f3df33a2ef135bf8b
+SHA512 (hugo-0.59.1.tar.gz) = 850ca17e7c8c861baabf149fe3f28100b11053b3ad544b562ec52c093207e9b008517400ca0c41f3f4013a10021e009c2abdaef29304878b714e763129228fdd
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : b3cf0b6b77f27b0a7136f3a04e271e72fea25737
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-10-21T22:28:20-04:00
Stats : +6/-151 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/b3cf0b6b77f27b0a7136f3a04e271e72fea25737?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index cc170e7..ce7460c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/hugo-0.55.3.tar.gz
/hugo-0.55.5.tar.gz
/hugo-0.55.6.tar.gz
+/hugo-0.59.0.tar.gz
diff --git a/0001-Fix-tests-against-latest-emoji-package.patch b/0001-Fix-tests-against-latest-emoji-package.patch
deleted file mode 100644
index 09d23fd..0000000
--- a/0001-Fix-tests-against-latest-emoji-package.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 08194c053448050910e3875065e7aa29c760e971 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Fri, 1 Mar 2019 18:47:19 -0500
-Subject: [PATCH] Fix tests against latest emoji package.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- docs/data/docs.json | 2 +-
- tpl/transform/init.go | 2 +-
- tpl/transform/transform_test.go | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/docs/data/docs.json b/docs/data/docs.json
-index 03bb0357..1f21646f 100644
---- a/docs/data/docs.json
-+++ b/docs/data/docs.json
-@@ -4109,7 +4109,7 @@
- "Examples": [
- [
- "{{ \"I :heart: Hugo\" | emojify }}",
-- "I ❤️ Hugo"
-+ "I ❤ Hugo"
- ]
- ]
- },
-diff --git a/tpl/transform/init.go b/tpl/transform/init.go
-index 62cb0a9c..2783a513 100644
---- a/tpl/transform/init.go
-+++ b/tpl/transform/init.go
-@@ -32,7 +32,7 @@ func init() {
- ns.AddMethodMapping(ctx.Emojify,
- []string{"emojify"},
- [][2]string{
-- {`{{ "I :heart: Hugo" | emojify }}`, `I ❤️ Hugo`},
-+ {`{{ "I :heart: Hugo" | emojify }}`, `I ❤ Hugo`},
- },
- )
-
-diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go
-index 13c4bbc2..10b020a0 100644
---- a/tpl/transform/transform_test.go
-+++ b/tpl/transform/transform_test.go
-@@ -40,7 +40,7 @@ func TestEmojify(t *testing.T) {
- expect interface{}
- }{
- {":notamoji:", template.HTML(":notamoji:")},
-- {"I :heart: Hugo", template.HTML("I ❤️ Hugo")},
-+ {"I :heart: Hugo", template.HTML("I ❤ Hugo")},
- // errors
- {tstNoStringer{}, false},
- } {
---
-2.21.0
-
diff --git a/6385.patch b/6385.patch
deleted file mode 100644
index 90e406d..0000000
--- a/6385.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From d64e9611109b2eb6de42a47d497cba313252a838 Mon Sep 17 00:00:00 2001
-From: Anthony Fok <foka@debian.org>
-Date: Wed, 2 Oct 2019 23:40:22 -0600
-Subject: [PATCH] resources: Ensure same dirinfos sort order in
- TestImageOperationsGolden
-
-Fix filename mismatch errors on Debian auto-building machines
-possibly due to different directory order on ext4 vs tmpfs file systems.
----
- resources/image_test.go | 11 +++--------
- 1 file changed, 3 insertions(+), 8 deletions(-)
-
-diff --git a/resources/image_test.go b/resources/image_test.go
-index 5fa5021c95..169f19522e 100644
---- a/resources/image_test.go
-+++ b/resources/image_test.go
-@@ -15,6 +15,7 @@ package resources
-
- import (
- "fmt"
-+ "io/ioutil"
- "math/big"
- "math/rand"
- "os"
-@@ -567,15 +568,9 @@ func TestImageOperationsGolden(t *testing.T) {
- dir2 := filepath.FromSlash("testdata/golden")
-
- // The two dirs above should now be the same.
-- d1, err := os.Open(dir1)
-+ dirinfos1, err := ioutil.ReadDir(dir1)
- c.Assert(err, qt.IsNil)
-- d2, err := os.Open(dir2)
-- c.Assert(err, qt.IsNil)
--
-- dirinfos1, err := d1.Readdir(-1)
-- c.Assert(err, qt.IsNil)
-- dirinfos2, err := d2.Readdir(-1)
--
-+ dirinfos2, err := ioutil.ReadDir(dir2)
- c.Assert(err, qt.IsNil)
- c.Assert(len(dirinfos1), qt.Equals, len(dirinfos2))
-
diff --git a/6403.patch b/6403.patch
deleted file mode 100644
index d1e6b27..0000000
--- a/6403.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From e825481e553e5a2d60ccbd9930da9060d12cff3d Mon Sep 17 00:00:00 2001
-From: Anthony Fok <foka@debian.org>
-Date: Tue, 8 Oct 2019 23:46:04 -0600
-Subject: [PATCH] deps: Update minify to v2.5.2
-
-- v2.5.1 removes import comments, solving a build error with Go 1.13
- in GOPATH mode (used Debian packaging for example)
-- v2.5.2 no longer converts polyline/rect/polygon/line to path
- as it has been reported to break a SVG referenced by CSS,
- see tdewolff/minify#260
-
-The test case for Min SVG in TestResourceChains is updated accordingly.
-
-Fixes pocc/tshark.dev#33
----
- go.mod | 2 +-
- go.sum | 12 ++++++------
- hugolib/resource_chain_test.go | 6 +++---
- 3 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/hugolib/resource_chain_test.go b/hugolib/resource_chain_test.go
-index 138e7a4a28..10539d1bb2 100644
---- a/hugolib/resource_chain_test.go
-+++ b/hugolib/resource_chain_test.go
-@@ -342,8 +342,8 @@ Min HTML: {{ ( resources.Get "mydata/html1.html" | resources.Minify ).Content |
- b.AssertFileContent("public/index.html", `Min JS: var x;x=5;document.getElementById("demo").innerHTML=x*10;`)
- b.AssertFileContent("public/index.html", `Min JSON: {"employees":[{"firstName":"John","lastName":"Doe"},{"firstName":"Anna","lastName":"Smith"},{"firstName":"Peter","lastName":"Jones"}]}`)
- b.AssertFileContent("public/index.html", `Min XML: <hello><world>Hugo Rocks!</<world></hello>`)
-- b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
-- b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
-+ b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
-+ b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
- b.AssertFileContent("public/index.html", `Min HTML: <html><a href=#>Cool</a></html>`)
- }},
-
-@@ -580,7 +580,7 @@ document.getElementById("demo").innerHTML = x * 10;
-
- b.WithSourceFile(filepath.Join("assets", "mydata", "svg1.svg"), `
- <svg height="100" width="100">
-- <line x1="5" y1="10" x2="20" y2="40"/>
-+ <path d="M 100 100 L 300 100 L 200 100 z"/>
- </svg>
- `)
-
diff --git a/hugo.spec b/hugo.spec
index 621241f..5891098 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -4,7 +4,7 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.58.3
+Version: 0.59.0
%gometa
@@ -26,12 +26,6 @@ URL: %{gourl}
Source0: %{gosource}
# Skip test that uses the network.
Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
-# Fix build against golang-github-kyokomi-emoji 2.1
-Patch0002: 0001-Fix-tests-against-latest-emoji-package.patch
-# Fix build against golang-github-tdewolff-minify 2.5.2
-Patch0003: https://github.com/gohugoio/hugo/pull/6403.patch
-# Fix test susceptible to inconsistent directory order.
-Patch0004: https://github.com/gohugoio/hugo/pull/6385.patch
BuildRequires: golang(github.com/alecthomas/chroma)
BuildRequires: golang(github.com/alecthomas/chroma/formatters)
@@ -131,9 +125,6 @@ BuildRequires: rubygem-asciidoctor
%goprep
%patch0001 -p1
-%patch0002 -p1
-%patch0003 -p1
-%patch0004 -p1
# Replace blackfriday import path to avoid conflict with v2
# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
@@ -187,6 +178,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Mon Oct 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.59.0-1
+- Update to latest version
+
* Wed Oct 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.58.3-1
- Update to latest version
diff --git a/sources b/sources
index 30c40b7..9d2f109 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.55.6.tar.gz) = b45d50ae109d1f5bbc1d52f1c8d46a1638fd83bec8a2600c3cfd6d303fdcf58db1d9201844174558e8dea62132ff146fbff9995ae0350ff2f7e4106adf07b861
+SHA512 (hugo-0.59.0.tar.gz) = e327af1193ced80d0ce955c29f3362011fdb4de2712694532fe9d4627452ba187159b994ae4fca41b130a43d8ca16cc02673fdfe1d8437066ff508f2429a6230
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 1ce2d37d5521ee74c9aaf53c413b9075166a28d1
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-10-21T19:47:02-04:00
Stats : +160/-19 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/1ce2d37d5521ee74c9aaf53c413b9075166a28d1?branch=epel8
Log:
Update to latest version.
---
diff --git a/0001-Fix-tests-against-latest-emoji-package.patch b/0001-Fix-tests-against-latest-emoji-package.patch
index 4da679d..09d23fd 100644
--- a/0001-Fix-tests-against-latest-emoji-package.patch
+++ b/0001-Fix-tests-against-latest-emoji-package.patch
@@ -1,4 +1,4 @@
-From b1373ca1d5813cdefe505cc8d535674e6e6647d6 Mon Sep 17 00:00:00 2001
+From 08194c053448050910e3875065e7aa29c760e971 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 1 Mar 2019 18:47:19 -0500
Subject: [PATCH] Fix tests against latest emoji package.
@@ -11,10 +11,10 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/data/docs.json b/docs/data/docs.json
-index 4a68378a..ce732d1b 100644
+index 03bb0357..1f21646f 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
-@@ -4060,7 +4060,7 @@
+@@ -4109,7 +4109,7 @@
"Examples": [
[
"{{ \"I :heart: Hugo\" | emojify }}",
@@ -37,10 +37,10 @@ index 62cb0a9c..2783a513 100644
)
diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go
-index a09ec6fb..6db2272d 100644
+index 13c4bbc2..10b020a0 100644
--- a/tpl/transform/transform_test.go
+++ b/tpl/transform/transform_test.go
-@@ -41,7 +41,7 @@ func TestEmojify(t *testing.T) {
+@@ -40,7 +40,7 @@ func TestEmojify(t *testing.T) {
expect interface{}
}{
{":notamoji:", template.HTML(":notamoji:")},
@@ -50,5 +50,5 @@ index a09ec6fb..6db2272d 100644
{tstNoStringer{}, false},
} {
--
-2.20.1
+2.21.0
diff --git a/0005-skip-modules-TestClient.patch b/0005-skip-modules-TestClient.patch
new file mode 100644
index 0000000..b98c979
--- /dev/null
+++ b/0005-skip-modules-TestClient.patch
@@ -0,0 +1,18 @@
+Description: Skip TestClient in modules/client_test.go
+ TestClient requires network access which is not allowed for Debian packaging.
+Author: Anthony Fok <foka@debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2019-08-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/modules/client_test.go
++++ b/modules/client_test.go
+@@ -27,6 +27,7 @@
+ )
+
+ func TestClient(t *testing.T) {
++ t.Skip("skip test as network access is not allowed during Debian package build")
+ if hugo.GoMinorVersion() < 12 {
+ // https://github.com/golang/go/issues/26794
+ // There were some concurrent issues with Go modules in < Go 12.
diff --git a/6385.patch b/6385.patch
new file mode 100644
index 0000000..90e406d
--- /dev/null
+++ b/6385.patch
@@ -0,0 +1,42 @@
+From d64e9611109b2eb6de42a47d497cba313252a838 Mon Sep 17 00:00:00 2001
+From: Anthony Fok <foka@debian.org>
+Date: Wed, 2 Oct 2019 23:40:22 -0600
+Subject: [PATCH] resources: Ensure same dirinfos sort order in
+ TestImageOperationsGolden
+
+Fix filename mismatch errors on Debian auto-building machines
+possibly due to different directory order on ext4 vs tmpfs file systems.
+---
+ resources/image_test.go | 11 +++--------
+ 1 file changed, 3 insertions(+), 8 deletions(-)
+
+diff --git a/resources/image_test.go b/resources/image_test.go
+index 5fa5021c95..169f19522e 100644
+--- a/resources/image_test.go
++++ b/resources/image_test.go
+@@ -15,6 +15,7 @@ package resources
+
+ import (
+ "fmt"
++ "io/ioutil"
+ "math/big"
+ "math/rand"
+ "os"
+@@ -567,15 +568,9 @@ func TestImageOperationsGolden(t *testing.T) {
+ dir2 := filepath.FromSlash("testdata/golden")
+
+ // The two dirs above should now be the same.
+- d1, err := os.Open(dir1)
++ dirinfos1, err := ioutil.ReadDir(dir1)
+ c.Assert(err, qt.IsNil)
+- d2, err := os.Open(dir2)
+- c.Assert(err, qt.IsNil)
+-
+- dirinfos1, err := d1.Readdir(-1)
+- c.Assert(err, qt.IsNil)
+- dirinfos2, err := d2.Readdir(-1)
+-
++ dirinfos2, err := ioutil.ReadDir(dir2)
+ c.Assert(err, qt.IsNil)
+ c.Assert(len(dirinfos1), qt.Equals, len(dirinfos2))
+
diff --git a/6403.patch b/6403.patch
new file mode 100644
index 0000000..d1e6b27
--- /dev/null
+++ b/6403.patch
@@ -0,0 +1,44 @@
+From e825481e553e5a2d60ccbd9930da9060d12cff3d Mon Sep 17 00:00:00 2001
+From: Anthony Fok <foka@debian.org>
+Date: Tue, 8 Oct 2019 23:46:04 -0600
+Subject: [PATCH] deps: Update minify to v2.5.2
+
+- v2.5.1 removes import comments, solving a build error with Go 1.13
+ in GOPATH mode (used Debian packaging for example)
+- v2.5.2 no longer converts polyline/rect/polygon/line to path
+ as it has been reported to break a SVG referenced by CSS,
+ see tdewolff/minify#260
+
+The test case for Min SVG in TestResourceChains is updated accordingly.
+
+Fixes pocc/tshark.dev#33
+---
+ go.mod | 2 +-
+ go.sum | 12 ++++++------
+ hugolib/resource_chain_test.go | 6 +++---
+ 3 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/hugolib/resource_chain_test.go b/hugolib/resource_chain_test.go
+index 138e7a4a28..10539d1bb2 100644
+--- a/hugolib/resource_chain_test.go
++++ b/hugolib/resource_chain_test.go
+@@ -342,8 +342,8 @@ Min HTML: {{ ( resources.Get "mydata/html1.html" | resources.Minify ).Content |
+ b.AssertFileContent("public/index.html", `Min JS: var x;x=5;document.getElementById("demo").innerHTML=x*10;`)
+ b.AssertFileContent("public/index.html", `Min JSON: {"employees":[{"firstName":"John","lastName":"Doe"},{"firstName":"Anna","lastName":"Smith"},{"firstName":"Peter","lastName":"Jones"}]}`)
+ b.AssertFileContent("public/index.html", `Min XML: <hello><world>Hugo Rocks!</<world></hello>`)
+- b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
+- b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M5 10 20 40z"/></svg>`)
++ b.AssertFileContent("public/index.html", `Min SVG: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
++ b.AssertFileContent("public/index.html", `Min SVG again: <svg height="100" width="100"><path d="M1e2 1e2H3e2 2e2z"/></svg>`)
+ b.AssertFileContent("public/index.html", `Min HTML: <html><a href=#>Cool</a></html>`)
+ }},
+
+@@ -580,7 +580,7 @@ document.getElementById("demo").innerHTML = x * 10;
+
+ b.WithSourceFile(filepath.Join("assets", "mydata", "svg1.svg"), `
+ <svg height="100" width="100">
+- <line x1="5" y1="10" x2="20" y2="40"/>
++ <path d="M 100 100 L 300 100 L 200 100 z"/>
+ </svg>
+ `)
+
diff --git a/hugo.spec b/hugo.spec
index d58b51c..621241f 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,8 +1,10 @@
%bcond_without check
+# Some tests use a package that uses this.
+%bcond_without bootstrap
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.55.6
+Version: 0.58.3
%gometa
@@ -15,35 +17,46 @@ and templates and renders them into a full HTML website.}
%global godocs docs examples README.md CONTRIBUTING.md
Name: hugo
-Release: 3%{?dist}
-Summary: A Fast and Flexible Static Site Generator built with love in GoLang
+Release: 1%{?dist}
+Summary: The world’s fastest framework for building websites
# Upstream license specification: Apache-2.0 and MIT
License: ASL 2.0 and MIT
URL: %{gourl}
Source0: %{gosource}
-%if %{?fedora} > 29
+# Skip test that uses the network.
+Patch0001: https://sources.debian.org/data/main/h/hugo/0.58.3-1/debian/patches/0005-skip-modules-TestClient.patch
# Fix build against golang-github-kyokomi-emoji 2.1
Patch0002: 0001-Fix-tests-against-latest-emoji-package.patch
-%endif
+# Fix build against golang-github-tdewolff-minify 2.5.2
+Patch0003: https://github.com/gohugoio/hugo/pull/6403.patch
+# Fix test susceptible to inconsistent directory order.
+Patch0004: https://github.com/gohugoio/hugo/pull/6385.patch
BuildRequires: golang(github.com/alecthomas/chroma)
BuildRequires: golang(github.com/alecthomas/chroma/formatters)
BuildRequires: golang(github.com/alecthomas/chroma/formatters/html)
BuildRequires: golang(github.com/alecthomas/chroma/lexers)
BuildRequires: golang(github.com/alecthomas/chroma/styles)
+BuildRequires: golang(github.com/armon/go-radix)
+BuildRequires: golang(github.com/aws/aws-sdk-go/aws)
+BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session)
+BuildRequires: golang(github.com/aws/aws-sdk-go/service/cloudfront)
BuildRequires: golang(github.com/bep/debounce)
BuildRequires: golang(github.com/bep/gitmap)
BuildRequires: golang(github.com/bep/go-tocss/scss)
+BuildRequires: golang(github.com/bep/tmc)
BuildRequires: golang(github.com/BurntSushi/locker)
BuildRequires: golang(github.com/BurntSushi/toml)
-BuildRequires: golang(github.com/chaseadamsio/goorgeous)
-BuildRequires: golang(github.com/disintegration/imaging)
+BuildRequires: golang(github.com/disintegration/gift)
+BuildRequires: golang(github.com/dustin/go-humanize)
BuildRequires: golang(github.com/eknkc/amber)
+BuildRequires: golang(github.com/frankban/quicktest)
BuildRequires: golang(github.com/fsnotify/fsnotify)
BuildRequires: golang(github.com/gobwas/glob)
+BuildRequires: golang(github.com/gobwas/glob/syntax)
+BuildRequires: golang(github.com/google/go-cmp/cmp)
BuildRequires: golang(github.com/gorilla/websocket)
-BuildRequires: golang(github.com/hashicorp/go-immutable-radix)
BuildRequires: golang(github.com/jdkato/prose/transform)
BuildRequires: golang(github.com/kyokomi/emoji)
BuildRequires: golang(github.com/markbates/inflect)
@@ -55,10 +68,14 @@ BuildRequires: golang(github.com/muesli/smartcrop)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/bundle)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/language)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/translation)
+BuildRequires: golang(github.com/niklasfasching/go-org/org)
BuildRequires: golang(github.com/olekukonko/tablewriter)
BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(github.com/PuerkitoBio/purell)
+BuildRequires: golang(github.com/rogpeppe/go-internal/module)
BuildRequires: golang(gopkg.in/russross/blackfriday.v1)
+BuildRequires: golang(github.com/rwcarlsen/goexif/exif)
+BuildRequires: golang(github.com/rwcarlsen/goexif/tiff)
BuildRequires: golang(github.com/spf13/afero)
BuildRequires: golang(github.com/spf13/cast)
BuildRequires: golang(github.com/spf13/cobra)
@@ -75,8 +92,16 @@ BuildRequires: (golang(github.com/tdewolff/minify/json) >= 2 with golang(github
BuildRequires: (golang(github.com/tdewolff/minify/svg) >= 2 with golang(github.com/tdewolff/minify/svg) < 3)
BuildRequires: (golang(github.com/tdewolff/minify/xml) >= 2 with golang(github.com/tdewolff/minify/xml) < 3)
BuildRequires: golang(github.com/yosssi/ace)
+BuildRequires: golang(gocloud.dev/blob)
+BuildRequires: golang(gocloud.dev/blob/azureblob)
+BuildRequires: golang(gocloud.dev/blob/fileblob)
+BuildRequires: golang(gocloud.dev/blob/gcsblob)
+BuildRequires: golang(gocloud.dev/blob/s3blob)
+BuildRequires: golang(golang.org/x/image/bmp)
+BuildRequires: golang(golang.org/x/image/tiff)
BuildRequires: golang(golang.org/x/image/webp)
BuildRequires: golang(golang.org/x/sync/errgroup)
+BuildRequires: golang(golang.org/x/sync/semaphore)
BuildRequires: golang(golang.org/x/text/runes)
BuildRequires: golang(golang.org/x/text/transform)
BuildRequires: golang(golang.org/x/text/unicode/norm)
@@ -84,11 +109,13 @@ BuildRequires: golang(gopkg.in/yaml.v2)
%if %{with check}
# Tests
-BuildRequires: golang(github.com/alecthomas/assert)
BuildRequires: golang(github.com/fortytw2/leaktest)
+%if %{without bootstrap}
+BuildRequires: golang(github.com/gohugoio/testmodBuilder/mods)
+%endif
+BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts)
BuildRequires: golang(github.com/sanity-io/litter)
-BuildRequires: golang(github.com/stretchr/testify/assert)
-BuildRequires: golang(github.com/stretchr/testify/require)
+BuildRequires: golang(gocloud.dev/blob/memblob)
BuildRequires: python3-docutils
BuildRequires: python3-pygments
BuildRequires: rubygem-asciidoctor
@@ -103,9 +130,10 @@ BuildRequires: rubygem-asciidoctor
%prep
%goprep
-%if %{?fedora} > 29
+%patch0001 -p1
%patch0002 -p1
-%endif
+%patch0003 -p1
+%patch0004 -p1
# Replace blackfriday import path to avoid conflict with v2
# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
@@ -117,6 +145,12 @@ sed -i \
# Skip test that assumes directory is in a git repository
sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
+%if %{with bootstrap}
+# Delete test using github.com/gohugoio/testmodBuilder/mods which has a
+# dependency loop.
+rm hugolib/hugo_modules_test.go
+%endif
+
%build
%gobuild -o %{gobuilddir}/bin/hugo %{goipath}
@@ -153,6 +187,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Wed Oct 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.58.3-1
+- Update to latest version
+
* Thu Aug 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.6-3
- Update to latest Go macros
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 75722f72848ebb85c3bf4fc6a1db508571dd8299
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-05-18T18:31:18-04:00
Stats : +6/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/75722f72848ebb85c3bf4fc6a1db508571dd8299?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index b8d9f38..cc170e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/hugo-0.55.1.tar.gz
/hugo-0.55.3.tar.gz
/hugo-0.55.5.tar.gz
+/hugo-0.55.6.tar.gz
diff --git a/hugo.spec b/hugo.spec
index 552a2f2..e9fc143 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,6 +1,6 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.55.5
+Version: 0.55.6
%gometa
@@ -148,6 +148,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Sat May 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.6-1
+- Update to latest version
+
* Sat May 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.5-1
- Update to latest version
diff --git a/sources b/sources
index 784ea10..30c40b7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.55.5.tar.gz) = 1558b334a3443428ab29d4ac923b0023f0aaf3457e45248200c7ee258cb9ab101086d996392a53168269b1edb0bf7ea0d3e1374a4711cfaef165d136abb8e506
+SHA512 (hugo-0.55.6.tar.gz) = b45d50ae109d1f5bbc1d52f1c8d46a1638fd83bec8a2600c3cfd6d303fdcf58db1d9201844174558e8dea62132ff146fbff9995ae0350ff2f7e4106adf07b861
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : f7fefef0e6082f2ed687b73eb50944a4f4c9326f
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-05-11T02:44:25-04:00
Stats : +6/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/f7fefef0e6082f2ed687b73eb50944a4f4c9326f?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index abd57e4..b8d9f38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/hugo-0.55.0.tar.gz
/hugo-0.55.1.tar.gz
/hugo-0.55.3.tar.gz
+/hugo-0.55.5.tar.gz
diff --git a/hugo.spec b/hugo.spec
index ea2c5d9..552a2f2 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,6 +1,6 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.55.3
+Version: 0.55.5
%gometa
@@ -148,6 +148,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Sat May 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.5-1
+- Update to latest version
+
* Wed Apr 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.3-1
- Update to latest version
diff --git a/sources b/sources
index cb4098f..784ea10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.55.3.tar.gz) = fc20b5ea6549b455ab8cd91a34d4b31241d3c97f5035d24d466424bcdb2733892dcb6c289f94ade72d24fd9aa50270f7970815f113d7c2c20ad96cf0df2a71fd
+SHA512 (hugo-0.55.5.tar.gz) = 1558b334a3443428ab29d4ac923b0023f0aaf3457e45248200c7ee258cb9ab101086d996392a53168269b1edb0bf7ea0d3e1374a4711cfaef165d136abb8e506
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 27586693c72f563ea9556f4efe322ba17e90dc6c
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-04-13T01:38:29-04:00
Stats : +6/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/27586693c72f563ea9556f4efe322ba17e90dc6c?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 0ee9bc0..1f7fe2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/hugo-0.38.tar.gz
/hugo-0.54.0.tar.gz
/hugo-0.55.0.tar.gz
+/hugo-0.55.1.tar.gz
diff --git a/hugo.spec b/hugo.spec
index 2d39867..9900e74 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,6 +1,6 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.55.0
+Version: 0.55.1
%gometa
@@ -148,6 +148,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Sat Apr 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.1-1
+- Update to latest version
+
* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.0-1
- Update to latest version
diff --git a/sources b/sources
index 01aee52..a38d931 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.55.0.tar.gz) = 280b49e72527e916c07f445259491fd673e6951688e86f297ff814183072e3d68b49718f9b7e9849f492a0f0a14f9e2afe49e453ada9ec7b5e8d3813d9349fb1
+SHA512 (hugo-0.55.1.tar.gz) = 7bf2e602635a88aa5c76f39a6b6d47699f47d886e9a3575f080a2f30dfdc5537ca59e30bb7458bab064e806d09ac4dd9b8dca52e6ea9478128169714eabd567f
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : 2989e044c3e26bccff41b97c984164d8b02a8083
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-04-10T04:28:06-04:00
Stats : +10/-99 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/2989e044c3e26bccff41b97c984164d8b02a8083?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 3b00a76..0ee9bc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/hugo-0.37.1.tar.gz
/hugo-0.38.tar.gz
/hugo-0.54.0.tar.gz
+/hugo-0.55.0.tar.gz
diff --git a/0001-Fix-tests-against-latest-emoji-package.patch b/0001-Fix-tests-against-latest-emoji-package.patch
index 3d70f6a..4da679d 100644
--- a/0001-Fix-tests-against-latest-emoji-package.patch
+++ b/0001-Fix-tests-against-latest-emoji-package.patch
@@ -1,4 +1,4 @@
-From a66029c8d92210dec8272f9d89964b9f5c322f9a Mon Sep 17 00:00:00 2001
+From b1373ca1d5813cdefe505cc8d535674e6e6647d6 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 1 Mar 2019 18:47:19 -0500
Subject: [PATCH] Fix tests against latest emoji package.
@@ -11,10 +11,10 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/data/docs.json b/docs/data/docs.json
-index 5b1388fe..c7687e45 100644
+index 4a68378a..ce732d1b 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
-@@ -3866,7 +3866,7 @@
+@@ -4060,7 +4060,7 @@
"Examples": [
[
"{{ \"I :heart: Hugo\" | emojify }}",
diff --git a/5670.patch b/5670.patch
deleted file mode 100644
index 50c5294..0000000
--- a/5670.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From a9ccc9df05b2d5b0f6e1f0b45adeacc27eeb4930 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
- <bjorn.erik.pedersen@gmail.com>
-Date: Sat, 2 Feb 2019 12:04:42 +0100
-Subject: [PATCH] commands: Update debouncer version
-
----
- commands/commandeer.go | 2 +-
- go.mod | 2 +-
- go.sum | 5 ++---
- 3 files changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/commands/commandeer.go b/commands/commandeer.go
-index 75d69b251..3939d3bd0 100644
---- a/commands/commandeer.go
-+++ b/commands/commandeer.go
-@@ -143,7 +143,7 @@ func newCommandeer(mustHaveConfigFile, running bool, h *hugoBuilderCommon, f fla
- // The time value used is tested with mass content replacements in a fairly big Hugo site.
- // It is better to wait for some seconds in those cases rather than get flooded
- // with rebuilds.
-- rebuildDebouncer, _, _ = debounce.New(4 * time.Second)
-+ rebuildDebouncer = debounce.New(4 * time.Second)
- }
-
- c := &commandeer{
-diff --git a/go.mod b/go.mod
-index d60deb020..ce5a4e04a 100644
---- a/go.mod
-+++ b/go.mod
-@@ -8,7 +8,7 @@ require (
- github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
- github.com/alecthomas/chroma v0.6.2
- github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
-- github.com/bep/debounce v1.1.0
-+ github.com/bep/debounce v1.2.0
- github.com/bep/gitmap v1.0.0
- github.com/bep/go-tocss v0.6.0
- github.com/chaseadamsio/goorgeous v1.1.0
-diff --git a/go.sum b/go.sum
-index a692cf7f5..e2cf53c75 100644
---- a/go.sum
-+++ b/go.sum
-@@ -18,8 +18,8 @@ github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897/go.mod h1:xTS7Pm1p
- github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 h1:GDQdwm/gAcJcLAKQQZGOJ4knlw+7rfEQQcmwTbt4p5E=
- github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ=
- github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
--github.com/bep/debounce v1.1.0 h1:6ocXeW2iZ/7vAzgXz82J00tYxncMiEEBExPftTtOQzk=
--github.com/bep/debounce v1.1.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
-+github.com/bep/debounce v1.2.0 h1:wXds8Kq8qRfwAOpAxHrJDbCXgC5aHSzgQb/0gKsHQqo=
-+github.com/bep/debounce v1.2.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
- github.com/bep/gitmap v1.0.0 h1:cTTZwq7vpGuhwefKCBDV9UrHnZAPVJTvoWobimrqkUc=
- github.com/bep/gitmap v1.0.0/go.mod h1:g9VRETxFUXNWzMiuxOwcudo6DfZkW9jOsOW0Ft4kYaY=
- github.com/bep/go-tocss v0.6.0 h1:lJf+nIjsQDpifUr+NgHi9QMBnrr9cFvMvEBT+uV9Q9E=
-@@ -75,7 +75,6 @@ github.com/magefile/mage v1.4.0 h1:RI7B1CgnPAuu2O9lWszwya61RLmfL0KCdo+QyyI/Bhk=
- github.com/magefile/mage v1.4.0/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
- github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
- github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
--github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6 h1:LZhVjIISSbj8qLf2qDPP0D8z0uvOWAW5C85ly5mJW6c=
- github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6/go.mod h1:oTeZL2KHA7CUX6X+fovmK9OvIOFuqu0TwdQrZjLTh88=
- github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs=
- github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
diff --git a/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch b/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
deleted file mode 100644
index 56843b0..0000000
--- a/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit b4148cd1d9ea889b81070d3e84a37bd5d23e5746
-Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
-Date: Tue Feb 19 21:47:03 2019 +0100
-
- hugolib: Adjust test for Go 1.12
-
-diff --git a/hugolib/hugo_sites_build_errors_test.go b/hugolib/hugo_sites_build_errors_test.go
-index fce6ec91..dd80946e 100644
---- a/hugolib/hugo_sites_build_errors_test.go
-+++ b/hugolib/hugo_sites_build_errors_test.go
-@@ -3,6 +3,7 @@ package hugolib
- import (
- "fmt"
- "path/filepath"
-+ "regexp"
- "runtime"
- "strings"
- "testing"
-@@ -211,7 +212,7 @@ func TestSiteBuildErrors(t *testing.T) {
- assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
- assert.Error(err)
- // This is fixed in latest Go source
-- if strings.Contains(runtime.Version(), "devel") {
-+ if regexp.MustCompile("devel|12").MatchString(runtime.Version()) {
- fe := a.getFileError(err)
- assert.Equal(5, fe.Position().LineNumber)
- assert.Equal(21, fe.Position().ColumnNumber)
diff --git a/hugo.spec b/hugo.spec
index d2473b2..2d39867 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,23 +1,19 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.54.0
+Version: 0.55.0
%gometa
Name: hugo
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
License: ASL 2.0 and MIT
URL: %{gourl}
Source0: %{gosource}
-# Fix build with golang-github-bep-debounce 1.2.0
-Patch0001: https://github.com/gohugoio/hugo/pull/5670.patch
%if %{?fedora} > 29
# Fix build against golang-github-kyokomi-emoji 2.1
Patch0002: 0001-Fix-tests-against-latest-emoji-package.patch
%endif
-# Adjust test for Go 1.12
-Patch0003: b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
%description
Hugo is a static HTML and CSS website generator written in Go. It is optimized
@@ -68,7 +64,6 @@ BuildRequires: golang(github.com/spf13/cobra)
BuildRequires: golang(github.com/spf13/cobra/doc)
BuildRequires: golang(github.com/spf13/fsync)
BuildRequires: golang(github.com/spf13/jwalterweatherman)
-BuildRequires: golang(github.com/spf13/nitro)
BuildRequires: golang(github.com/spf13/pflag)
BuildRequires: golang(github.com/spf13/viper)
BuildRequires: (golang(github.com/tdewolff/minify) >= 2 with golang(github.com/tdewolff/minify) < 3)
@@ -153,6 +148,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%changelog
+* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.55.0-1
+- Update to latest version
+
* Fri Mar 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-2
- Add bash-completion
- Add man pages
diff --git a/sources b/sources
index 8f2a0b1..01aee52 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.54.0.tar.gz) = 904b9ae9e3db91195e9e768faca8867d6534d20f64b19dec4d1788ca5f19863e9fac284821855ffef9bee6280d77cc72816c42b6e28b5f3a4f45d12daf6b9d0d
+SHA512 (hugo-0.55.0.tar.gz) = 280b49e72527e916c07f445259491fd673e6951688e86f297ff814183072e3d68b49718f9b7e9849f492a0f0a14f9e2afe49e453ada9ec7b5e8d3813d9349fb1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [rpms/hugo] epel8: Update to latest version.
@ 2026-11-06 5:42 Elliott Sales de Andrade
0 siblings, 0 replies; 12+ messages in thread
From: Elliott Sales de Andrade @ 2026-11-06 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel8
Commit : b3589d059f48e3571c98708b37c72dc65e6b5713
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2019-03-04T18:07:52-05:00
Stats : +127/-71 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/b3589d059f48e3571c98708b37c72dc65e6b5713?branch=epel8
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 1a9402f..3b00a76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/hugo-0.37.tar.gz
/hugo-0.37.1.tar.gz
/hugo-0.38.tar.gz
+/hugo-0.54.0.tar.gz
diff --git a/0001-Fix-tests-against-latest-emoji-package.patch b/0001-Fix-tests-against-latest-emoji-package.patch
index 2c51e95..3d70f6a 100644
--- a/0001-Fix-tests-against-latest-emoji-package.patch
+++ b/0001-Fix-tests-against-latest-emoji-package.patch
@@ -1,4 +1,4 @@
-From 8f25792a159f13f11e742d255df589f7e8b18d24 Mon Sep 17 00:00:00 2001
+From a66029c8d92210dec8272f9d89964b9f5c322f9a Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 1 Mar 2019 18:47:19 -0500
Subject: [PATCH] Fix tests against latest emoji package.
@@ -11,10 +11,10 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/data/docs.json b/docs/data/docs.json
-index 6400900a..1c0b94e7 100644
+index 5b1388fe..c7687e45 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
-@@ -3475,7 +3475,7 @@
+@@ -3866,7 +3866,7 @@
"Examples": [
[
"{{ \"I :heart: Hugo\" | emojify }}",
@@ -24,7 +24,7 @@ index 6400900a..1c0b94e7 100644
]
},
diff --git a/tpl/transform/init.go b/tpl/transform/init.go
-index 86951c25..898d3ea9 100644
+index 62cb0a9c..2783a513 100644
--- a/tpl/transform/init.go
+++ b/tpl/transform/init.go
@@ -32,7 +32,7 @@ func init() {
@@ -37,7 +37,7 @@ index 86951c25..898d3ea9 100644
)
diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go
-index ab3beb80..ee5da725 100644
+index a09ec6fb..6db2272d 100644
--- a/tpl/transform/transform_test.go
+++ b/tpl/transform/transform_test.go
@@ -41,7 +41,7 @@ func TestEmojify(t *testing.T) {
diff --git a/5285.patch b/5285.patch
deleted file mode 100644
index 7d32e45..0000000
--- a/5285.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From b137ad4dbd6d14d0a9af68c044aaee61f2c87fe5 Mon Sep 17 00:00:00 2001
-From: Shreyansh Khajanchi <shreyansh_k@live.com>
-Date: Wed, 3 Oct 2018 19:45:54 +0530
-Subject: [PATCH] helpers/content.go: call rst2html directly on *nix but via
- python on windows
-
-Initially, rst2html was called via the python interpreter which would
-fail if the script was wrapped in a launcher as on NixOS.
-Ideally, on *nix, binaries should be invoked directly to ensure that
-shebangs work properly as is being done now.
-Handle the case of windows as it doesn't do shebangs.
----
- helpers/content.go | 17 ++++++++++++++---
- 1 file changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/content.go b/helpers/content.go
-index 55d8ce202..f8479cd1b 100644
---- a/helpers/content.go
-+++ b/helpers/content.go
-@@ -22,6 +22,7 @@ import (
- "fmt"
- "html/template"
- "os/exec"
-+ "runtime"
- "unicode"
- "unicode/utf8"
-
-@@ -678,7 +679,6 @@ func getPythonExecPath() string {
- // getRstContent calls the Python script rst2html as an external helper
- // to convert reStructuredText content to HTML.
- func getRstContent(ctx *RenderingContext) []byte {
-- python := getPythonExecPath()
- path := getRstExecPath()
-
- if path == "" {
-@@ -688,8 +688,19 @@ func getRstContent(ctx *RenderingContext) []byte {
-
- }
- jww.INFO.Println("Rendering", ctx.DocumentName, "with", path, "...")
-- args := []string{path, "--leave-comments", "--initial-header-level=2"}
-- result := externallyRenderContent(ctx, python, args)
-+ var result []byte
-+ // certain *nix based OSs wrap executables in scripted launchers
-+ // invoking binaries on these OSs via python interpreter causes SyntaxError
-+ // invoke directly so that shebangs work as expected
-+ // handle Windows manually because it doesn't do shebangs
-+ if runtime.GOOS == "windows" {
-+ python := getPythonExecPath()
-+ args := []string{path, "--leave-comments", "--initial-header-level=2"}
-+ result = externallyRenderContent(ctx, python, args)
-+ } else {
-+ args := []string{"--leave-comments", "--initial-header-level=2"}
-+ result = externallyRenderContent(ctx, path, args)
-+ }
- // TODO(bep) check if rst2html has a body only option.
- bodyStart := bytes.Index(result, []byte("<body>\n"))
- if bodyStart < 0 {
diff --git a/5670.patch b/5670.patch
new file mode 100644
index 0000000..50c5294
--- /dev/null
+++ b/5670.patch
@@ -0,0 +1,61 @@
+From a9ccc9df05b2d5b0f6e1f0b45adeacc27eeb4930 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
+ <bjorn.erik.pedersen@gmail.com>
+Date: Sat, 2 Feb 2019 12:04:42 +0100
+Subject: [PATCH] commands: Update debouncer version
+
+---
+ commands/commandeer.go | 2 +-
+ go.mod | 2 +-
+ go.sum | 5 ++---
+ 3 files changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/commands/commandeer.go b/commands/commandeer.go
+index 75d69b251..3939d3bd0 100644
+--- a/commands/commandeer.go
++++ b/commands/commandeer.go
+@@ -143,7 +143,7 @@ func newCommandeer(mustHaveConfigFile, running bool, h *hugoBuilderCommon, f fla
+ // The time value used is tested with mass content replacements in a fairly big Hugo site.
+ // It is better to wait for some seconds in those cases rather than get flooded
+ // with rebuilds.
+- rebuildDebouncer, _, _ = debounce.New(4 * time.Second)
++ rebuildDebouncer = debounce.New(4 * time.Second)
+ }
+
+ c := &commandeer{
+diff --git a/go.mod b/go.mod
+index d60deb020..ce5a4e04a 100644
+--- a/go.mod
++++ b/go.mod
+@@ -8,7 +8,7 @@ require (
+ github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
+ github.com/alecthomas/chroma v0.6.2
+ github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
+- github.com/bep/debounce v1.1.0
++ github.com/bep/debounce v1.2.0
+ github.com/bep/gitmap v1.0.0
+ github.com/bep/go-tocss v0.6.0
+ github.com/chaseadamsio/goorgeous v1.1.0
+diff --git a/go.sum b/go.sum
+index a692cf7f5..e2cf53c75 100644
+--- a/go.sum
++++ b/go.sum
+@@ -18,8 +18,8 @@ github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897/go.mod h1:xTS7Pm1p
+ github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 h1:GDQdwm/gAcJcLAKQQZGOJ4knlw+7rfEQQcmwTbt4p5E=
+ github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ=
+ github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
+-github.com/bep/debounce v1.1.0 h1:6ocXeW2iZ/7vAzgXz82J00tYxncMiEEBExPftTtOQzk=
+-github.com/bep/debounce v1.1.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
++github.com/bep/debounce v1.2.0 h1:wXds8Kq8qRfwAOpAxHrJDbCXgC5aHSzgQb/0gKsHQqo=
++github.com/bep/debounce v1.2.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
+ github.com/bep/gitmap v1.0.0 h1:cTTZwq7vpGuhwefKCBDV9UrHnZAPVJTvoWobimrqkUc=
+ github.com/bep/gitmap v1.0.0/go.mod h1:g9VRETxFUXNWzMiuxOwcudo6DfZkW9jOsOW0Ft4kYaY=
+ github.com/bep/go-tocss v0.6.0 h1:lJf+nIjsQDpifUr+NgHi9QMBnrr9cFvMvEBT+uV9Q9E=
+@@ -75,7 +75,6 @@ github.com/magefile/mage v1.4.0 h1:RI7B1CgnPAuu2O9lWszwya61RLmfL0KCdo+QyyI/Bhk=
+ github.com/magefile/mage v1.4.0/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
+ github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
+ github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
+-github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6 h1:LZhVjIISSbj8qLf2qDPP0D8z0uvOWAW5C85ly5mJW6c=
+ github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6/go.mod h1:oTeZL2KHA7CUX6X+fovmK9OvIOFuqu0TwdQrZjLTh88=
+ github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs=
+ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
diff --git a/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch b/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
new file mode 100644
index 0000000..56843b0
--- /dev/null
+++ b/b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
@@ -0,0 +1,27 @@
+commit b4148cd1d9ea889b81070d3e84a37bd5d23e5746
+Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
+Date: Tue Feb 19 21:47:03 2019 +0100
+
+ hugolib: Adjust test for Go 1.12
+
+diff --git a/hugolib/hugo_sites_build_errors_test.go b/hugolib/hugo_sites_build_errors_test.go
+index fce6ec91..dd80946e 100644
+--- a/hugolib/hugo_sites_build_errors_test.go
++++ b/hugolib/hugo_sites_build_errors_test.go
+@@ -3,6 +3,7 @@ package hugolib
+ import (
+ "fmt"
+ "path/filepath"
++ "regexp"
+ "runtime"
+ "strings"
+ "testing"
+@@ -211,7 +212,7 @@ func TestSiteBuildErrors(t *testing.T) {
+ assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
+ assert.Error(err)
+ // This is fixed in latest Go source
+- if strings.Contains(runtime.Version(), "devel") {
++ if regexp.MustCompile("devel|12").MatchString(runtime.Version()) {
+ fe := a.getFileError(err)
+ assert.Equal(5, fe.Position().LineNumber)
+ assert.Equal(21, fe.Position().ColumnNumber)
diff --git a/hugo.spec b/hugo.spec
index 9e6d841..53d10dd 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -1,21 +1,23 @@
# https://github.com/gohugoio/hugo
%global goipath github.com/gohugoio/hugo
-Version: 0.38
+Version: 0.54.0
%gometa
Name: hugo
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
License: ASL 2.0 and MIT
URL: %{gourl}
Source0: %{gosource}
-# Call rst2html directly instead of via 'python'.
-Patch0001: https://github.com/gohugoio/hugo/pull/5285.patch
+# Fix build with golang-github-bep-debounce 1.2.0
+Patch0001: https://github.com/gohugoio/hugo/pull/5670.patch
%if %{?fedora} > 29
# Fix build against golang-github-kyokomi-emoji 2.1
Patch0002: 0001-Fix-tests-against-latest-emoji-package.patch
%endif
+# Adjust test for Go 1.12
+Patch0003: b4148cd1d9ea889b81070d3e84a37bd5d23e5746.patch
%description
Hugo is a static HTML and CSS website generator written in Go. It is optimized
@@ -27,6 +29,7 @@ and templates and renders them into a full HTML website.
Summary: %{summary}
BuildArch: noarch
+BuildRequires: golang(github.com/BurntSushi/locker)
BuildRequires: golang(github.com/BurntSushi/toml)
BuildRequires: golang(github.com/PuerkitoBio/purell)
BuildRequires: golang(github.com/alecthomas/chroma)
@@ -34,7 +37,11 @@ BuildRequires: golang(github.com/alecthomas/chroma/formatters)
BuildRequires: golang(github.com/alecthomas/chroma/formatters/html)
BuildRequires: golang(github.com/alecthomas/chroma/lexers)
BuildRequires: golang(github.com/alecthomas/chroma/styles)
+BuildRequires: golang(github.com/bep/debounce)
BuildRequires: golang(github.com/bep/gitmap)
+BuildRequires: golang(github.com/bep/go-tocss/scss)
+BuildRequires: golang(github.com/bep/go-tocss/scss/libsass)
+BuildRequires: golang(github.com/bep/go-tocss/tocss)
BuildRequires: golang(github.com/chaseadamsio/goorgeous)
BuildRequires: golang(github.com/disintegration/imaging)
BuildRequires: golang(github.com/eknkc/amber)
@@ -45,12 +52,15 @@ BuildRequires: golang(github.com/hashicorp/go-immutable-radix)
BuildRequires: golang(github.com/jdkato/prose/transform)
BuildRequires: golang(github.com/kyokomi/emoji)
BuildRequires: golang(github.com/markbates/inflect)
+BuildRequires: golang(github.com/mattn/go-isatty)
BuildRequires: golang(github.com/miekg/mmark)
+BuildRequires: golang(github.com/mitchellh/hashstructure)
BuildRequires: golang(github.com/mitchellh/mapstructure)
BuildRequires: golang(github.com/muesli/smartcrop)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/bundle)
BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/language)
BuildRequires: golang(github.com/olekukonko/tablewriter)
+BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(gopkg.in/russross/blackfriday.v1)
BuildRequires: golang(github.com/spf13/afero)
BuildRequires: golang(github.com/spf13/cast)
@@ -61,15 +71,22 @@ BuildRequires: golang(github.com/spf13/jwalterweatherman)
BuildRequires: golang(github.com/spf13/nitro)
BuildRequires: golang(github.com/spf13/pflag)
BuildRequires: golang(github.com/spf13/viper)
+BuildRequires: golang(github.com/tdewolff/minify)
+BuildRequires: golang(github.com/tdewolff/minify/css)
+BuildRequires: golang(github.com/tdewolff/minify/html)
+BuildRequires: golang(github.com/tdewolff/minify/js)
+BuildRequires: golang(github.com/tdewolff/minify/json)
+BuildRequires: golang(github.com/tdewolff/minify/svg)
+BuildRequires: golang(github.com/tdewolff/minify/xml)
BuildRequires: golang(github.com/yosssi/ace)
BuildRequires: golang(golang.org/x/image/webp)
-BuildRequires: golang(golang.org/x/net/context)
BuildRequires: golang(golang.org/x/sync/errgroup)
BuildRequires: golang(golang.org/x/text/transform)
BuildRequires: golang(golang.org/x/text/unicode/norm)
BuildRequires: golang(gopkg.in/yaml.v2)
# These are used during tests
+BuildRequires: golang(github.com/alecthomas/assert)
BuildRequires: golang(github.com/fortytw2/leaktest)
BuildRequires: golang(github.com/sanity-io/litter)
BuildRequires: golang(github.com/stretchr/testify/assert)
@@ -89,7 +106,11 @@ which use import path with %{goipath} prefix.
%forgeautosetup -p1
# Replace blackfriday import path to avoid conflict with v2
-sed -i 's|"github.com/russross/blackfriday|"gopkg.in/russross/blackfriday.v1|' $(find . -name '*.go')
+# Depend on unversioned tdewolff/minify until Go modules are supported in Fedora
+sed -i \
+ -e 's|"github.com/russross/blackfriday|"gopkg.in/russross/blackfriday.v1|' \
+ -e 's|"github.com/tdewolff/minify/v2|"github.com/tdewolff/minify|' \
+ $(find . -name '*.go')
# Skip test that assumes directory is in a git repository
sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
@@ -116,16 +137,19 @@ install -p -m 0755 _bin/hugo %{buildroot}%{_bindir}
%files
-%license LICENSE.md
%doc CONTRIBUTING.md README.md
+%license LICENSE
%{_bindir}/hugo
%files -n %{goname}-devel -f devel.file-list
-%license LICENSE.md
%doc CONTRIBUTING.md README.md
+%license LICENSE
%changelog
+* Mon Mar 04 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-1
+- Update to latest version
+
* Thu Feb 28 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.38-4
- Fix FTBFS (#1675118)
diff --git a/sources b/sources
index 0e10538..8f2a0b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hugo-0.38.tar.gz) = 5b6c089e8c04dc610b02c17fed8c68b4fb87c6af5c78f48604e6a46c380f834793651c3cc94da83233fd521225c5ed4c7c7ea35124fea322157d9e5de9217a40
+SHA512 (hugo-0.54.0.tar.gz) = 904b9ae9e3db91195e9e768faca8867d6534d20f64b19dec4d1788ca5f19863e9fac284821855ffef9bee6280d77cc72816c42b6e28b5f3a4f45d12daf6b9d0d
^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2026-11-06 5:42 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 5:42 [rpms/hugo] epel8: Update to latest version Elliott Sales de Andrade
-- strict thread matches above, loose matches on Subject: below --
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 Elliott Sales de Andrade
2026-11-06 5:42 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