Use dynamic automatic build requires
Signed-off-by: Athos Ribeiro <athoscr@fedoraproject.org>
This commit is contained in:
parent
f976a5347d
commit
5f1167d58b
98
hugo.spec
98
hugo.spec
|
@ -30,100 +30,7 @@ Patch0002: https://sources.debian.org/data/main/h/hugo/0.69.0-1/debian/patc
|
|||
# Fix error message that changed in gocloud.
|
||||
Patch0003: 0001-Update-error-message.patch
|
||||
|
||||
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) >= 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) >= 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) >= 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) >= 1.4.1
|
||||
BuildRequires: golang(github.com/jdkato/prose/transform) >= 1.1.1
|
||||
BuildRequires: golang(github.com/kyokomi/emoji) >= 2.1.1
|
||||
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) >= 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) >= 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) >= 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(gocloud.dev/blob) >= 0.15.0
|
||||
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) >= 0.3.2
|
||||
BuildRequires: golang(golang.org/x/text/transform)
|
||||
BuildRequires: golang(golang.org/x/text/unicode/norm)
|
||||
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) >= 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) >= 1.2.0
|
||||
BuildRequires: golang(gocloud.dev/blob/memblob)
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: python3-pygments
|
||||
BuildRequires: rubygem-asciidoctor
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -153,6 +60,8 @@ sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
|
|||
rm hugolib/hugo_modules_test.go
|
||||
%endif
|
||||
|
||||
%generate_buildrequires
|
||||
%go_generate_buildrequires
|
||||
|
||||
%build
|
||||
BUILDTAGS=extended %gobuild -o %{gobuilddir}/bin/hugo %{goipath}
|
||||
|
@ -189,6 +98,9 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu May 07 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.70.0-2
|
||||
- Use generated dynamic buildrequires
|
||||
|
||||
* Thu May 07 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.70.0-1
|
||||
- Update to latest version
|
||||
|
||||
|
|
Loading…
Reference in New Issue