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:
parent
98e1d91b0c
commit
4ef672a559
12
hugo.spec
12
hugo.spec
|
@ -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 world’s 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
|
||||
|
|
Loading…
Reference in New Issue