Name: ols Version: 2026.02 Release: 9%{?dist} Summary: Odin programming language language server protocol and formatter License: MIT URL: https://github.com/DanielGavin/ols %global debug_package %{nil} %global ols_tag d0e0a457581b7f02a1de017c78154ab1aecebc5a Source0: https://github.com/DanielGavin/ols/archive/%{ols_tag}.tar.gz#/ols-%{ols_tag}.tar.gz ExclusiveArch: x86_64 aarch64 BuildRequires: clang BuildRequires: lld BuildRequires: coreutils BuildRequires: unzip BuildRequires: odin-lang %description Language Server Protocol and formatter for the Odin programming language. This package installs ols, odin-fmt, and ols builtin library. This is an unofficial COPR package of ols and is maintained independently. %prep %autosetup -n ols-%{ols_tag} %build odin build src/ \ -show-timings \ -collection:src=src \ -out:ols \ -no-bounds-check \ -o:speed \ -define:VERSION="dev-2026-02-22-d0e0a45" odin build tools/odinfmt/main.odin \ -file \ -show-timings \ -collection:src=src \ -out:odinfmt \ -o:speed %check ./odinfmt -h ./ols version %install install -d -m 0755 %{buildroot}%{_bindir} install -m 0755 ols %{buildroot}%{_bindir}/ols install -m 0755 odinfmt %{buildroot}%{_bindir}/odinfmt install -d -m 0755 %{buildroot}%{_prefix}/share/ols cp -r builtin %{buildroot}%{_prefix}/share/ols/builtin %files %license LICENSE %doc README.md %{_bindir}/ols %{_bindir}/odinfmt %{_prefix}/share/ols %changelog * Sat Feb 28 2026 Fedora COPR - 2026.02-9 - Update to commit d0e0a457581b7f02a1de017c78154ab1aecebc5a