Update to latest version.
This commit is contained in:
parent
f1a94c71e1
commit
96a14caf85
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
121
hugo.spec
121
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
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (hugo-0.59.1.tar.gz) = 850ca17e7c8c861baabf149fe3f28100b11053b3ad544b562ec52c093207e9b008517400ca0c41f3f4013a10021e009c2abdaef29304878b714e763129228fdd
|
||||
SHA512 (hugo-0.65.2.tar.gz) = 5de2cfafb7c426f1cc09e26392260e998df99c704b17e8280546cacbe02dbc9696cedbe8b5a120b915c8499c69395eaf0e46007c8727ba393b04c164541ab85e
|
||||
|
|
Loading…
Reference in New Issue