diff --git a/hugo.spec b/hugo.spec index 1fb32af..5fad20e 100644 --- a/hugo.spec +++ b/hugo.spec @@ -46,7 +46,7 @@ Name: hugo Version: 0.36.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Fast and Flexible Static Site Generator built with love in GoLang License: ASL 2.0 and MIT URL: https://%{provider_prefix} @@ -353,6 +353,8 @@ done # install data used for tests cp -pav ./hugolib/testdata %{buildroot}/%{gopath}/src/%{import_path}/hugolib/ echo "%%{gopath}/src/%%{import_path}/hugolib/testdata" >> unit-test-devel.file-list +cp -pav ./resource/testdata %{buildroot}/%{gopath}/src/%{import_path}/resource/ +echo "%%{gopath}/src/%%{import_path}/resource/testdata" >> unit-test-devel.file-list %endif @@ -439,6 +441,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} %endif %changelog +* Wed Feb 21 2018 Athos Ribeiro - 0.36.1-2 +- Include resource/testdata in unit tests package + * Fri Feb 16 2018 Athos Ribeiro - 0.36.1-1 - Update version