Move /usr/bin/hugo to a subpackage

See rhbz#2104346 for the discussion

Signed-off-by: Michael Scherer <misc@fedoraproject.org>
This commit is contained in:
Michael Scherer 2022-07-30 01:12:55 +02:00
parent 98e1d91b0c
commit 4ef672a559
1 changed files with 11 additions and 1 deletions

View File

@ -37,7 +37,15 @@ Patch0003: 0030-nicksnyder-go-i18n.patch
BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.7.0
Requires: golang-bin
Requires: hugo-bin
%package bin
Summary: The worlds fastest framework for building websites - binary
%description bin
%{common_description}
This package contains only the hugo binary for use in CI.
%description
%{common_description}
@ -108,12 +116,14 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%files
%doc CONTRIBUTING.md README.md docs
%license LICENSE
%{_bindir}/hugo
%{_datadir}/bash-completion/completions/hugo
%{_mandir}/man1/*.1*
%gopkgfiles
%files bin
%license LICENSE
%{_bindir}/hugo
%changelog
%autochangelog