Update to 2.4.0

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo 2023-01-11 13:20:20 -06:00
parent fecc930bb6
commit 1dc447a1f7

View File

@ -3,7 +3,7 @@
# https://github.com/alecthomas/chroma # https://github.com/alecthomas/chroma
%global goipath github.com/alecthomas/chroma/v2 %global goipath github.com/alecthomas/chroma/v2
Version: 2.3.0 Version: 2.4.0
%gometa -f %gometa -f
@ -43,11 +43,12 @@ install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
install -m 0755 -vd %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/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 install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/lexers/embedded/* %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded
install -m 0755 -vd %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/styles
install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/styles/* %{buildroot}%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/styles
%if %{with check} %if %{with check}
%check %check
# lexers: check requires github.com/alecthomas/repr, which is not in Fedora yet %gocheck
%gocheck -d lexers
%endif %endif
%files %files
@ -57,6 +58,7 @@ install -m 0644 -vp %{gobuilddir}/src/github.com/alecthomas/chroma/v2/lexers/emb
%gopkgfiles %gopkgfiles
%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded/ %{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/lexers/embedded/
%{_datarootdir}/gocode/src/github.com/alecthomas/chroma/v2/styles/
%changelog %changelog
%autochangelog %autochangelog