Include missing test files in unit-test-devel
This commit is contained in:
parent
3d9ceb1e04
commit
2acc5792bd
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
Name: hugo
|
Name: hugo
|
||||||
Version: 0.36.1
|
Version: 0.36.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
|
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
|
||||||
License: ASL 2.0 and MIT
|
License: ASL 2.0 and MIT
|
||||||
URL: https://%{provider_prefix}
|
URL: https://%{provider_prefix}
|
||||||
@ -353,6 +353,8 @@ done
|
|||||||
# install data used for tests
|
# install data used for tests
|
||||||
cp -pav ./hugolib/testdata %{buildroot}/%{gopath}/src/%{import_path}/hugolib/
|
cp -pav ./hugolib/testdata %{buildroot}/%{gopath}/src/%{import_path}/hugolib/
|
||||||
echo "%%{gopath}/src/%%{import_path}/hugolib/testdata" >> unit-test-devel.file-list
|
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
|
%endif
|
||||||
|
|
||||||
@ -439,6 +441,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 21 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.36.1-2
|
||||||
|
- Include resource/testdata in unit tests package
|
||||||
|
|
||||||
* Fri Feb 16 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.36.1-1
|
* Fri Feb 16 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.36.1-1
|
||||||
- Update version
|
- Update version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user