Fix install of embedded files
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
parent
0af22f8842
commit
fecc930bb6
@ -41,8 +41,8 @@ done
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
install -m 0755 -vd %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/lexers/embedded
|
||||
install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/lexers/embedded/* %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/lexers/embedded
|
||||
install -m 0755 -vd %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded
|
||||
install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/lexers/embedded/* %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
@ -56,7 +56,7 @@ install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/lexers/emb
|
||||
%{_bindir}/*
|
||||
|
||||
%gopkgfiles
|
||||
%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/lexers/embedded/
|
||||
%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
Loading…
Reference in New Issue
Block a user