Clean up hugo.spec a bit
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
parent
ee5944a1e6
commit
37036c7c39
|
@ -86,7 +86,6 @@ BUILDTAGS=extended %gobuild -o %{gobuilddir}/bin/hugo %{goipath}
|
|||
%{gobuilddir}/bin/hugo gen autocomplete >hugo-completion
|
||||
%{gobuilddir}/bin/hugo gen man
|
||||
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
|
||||
|
@ -95,7 +94,6 @@ install -Dp -m 0755 %{gobuilddir}/bin/hugo %{buildroot}%{_bindir}
|
|||
install -Dp hugo-completion %{buildroot}%{_datadir}/bash-completion/completions/hugo
|
||||
install -Dp man/* -t %{buildroot}%{_mandir}/man1
|
||||
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
# releaser: We do not want to test upstream release process (needs git repo)
|
||||
|
@ -114,7 +112,6 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
|
|||
%gocheck -d releaser -d tpl/time -d common/herrors -d common/text -d deploy -d hugolib -d markup/goldmark/codeblocks -d markup/goldmark -d langs/i18n -d metrics -d minifiers -d resources/resource_transformers/js
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc CONTRIBUTING.md README.md docs
|
||||
%license LICENSE
|
||||
|
@ -124,6 +121,5 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
|
|||
|
||||
%gopkgfiles
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
Loading…
Reference in New Issue