Name: ols-nightly Version: 20260417 Release: 1%{?dist} Summary: Nightly builds of the Odin programming language language server protocol and formatter License: MIT URL: https://github.com/DanielGavin/ols %global debug_package %{nil} %global ols_tag 8bcda891f6ab2adfdc7d2b9a8106814b401adfcf %global short %(printf "%.7s" %{ols_tag}) Source0: https://github.com/DanielGavin/ols/archive/%{ols_tag}.tar.gz#/ols-%{ols_tag}.tar.gz ExclusiveArch: x86_64 aarch64 BuildRequires: clang BuildRequires: coreutils BuildRequires: lld BuildRequires: odin-lang-nightly BuildRequires: unzip Conflicts: ols %description Language Server Protocol and formatter for the Odin programming language. This package closely follows the master branch of the upstream repository. It installs ols, odin-fmt, and the ols builtin libraries. 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-04-"%{short} 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 20260417-1 - Update to commit 8bcda891f6ab2adfdc7d2b9a8106814b401adfcf