Name: ols Version: 2026.04 Release: 1%{?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 dev-2026-04 Source0: https://github.com/DanielGavin/ols/archive/refs/tags/%{ols_tag}.tar.gz#/ols-%{ols_tag}.tar.gz ExclusiveArch: x86_64 aarch64 BuildRequires: clang BuildRequires: coreutils BuildRequires: lld BuildRequires: odin-lang BuildRequires: unzip Conflicts: ols-nightly %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=%{ols_tag} 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 * Fri Apr 17 2026 Fedora COPR 2026.04-1 - Update to release dev-2026-04