From fecc930bb6181a850a7f91af28678a2841e2f417 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Wed, 26 Oct 2022 13:34:29 -0500 Subject: [PATCH] Fix install of embedded files Signed-off-by: W. Michael Petullo --- golang-github-alecthomas-chroma-2.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/golang-github-alecthomas-chroma-2.spec b/golang-github-alecthomas-chroma-2.spec index dc5f51d..21b64ea 100644 --- a/golang-github-alecthomas-chroma-2.spec +++ b/golang-github-alecthomas-chroma-2.spec @@ -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