Name: stylua Version: 2.6.0 Release: 1%{?dist} Summary: Rust based lua formatter. License: MPL-2.0 URL: https://github.com/JohnnyMorganz/StyLua Source0: %{name}-%{version}.tar.gz # Source0: StyLua.tar.gz # Source0: https://github.com/JohnnyMorganz/StyLua/archive/refs/tags/v%{version}.tar.gz BuildRequires: rust-packaging BuildRequires: cargo >= 1.60 BuildRequires: gcc BuildArch: x86_64 %description An COPR package for the StyLua formatter. %prep %autosetup -n StyLua-%{version} %build cargo build --release %install %cargo_install # cargo install --release --bin stylua --path . --root %{buildroot} %check %cargo_test # cargo test --offline %files %license LICENSE %doc README.md %{_bindir}/stylua %changelog * Thu Oct 15 2026 Max Schopf - 2.6.0-1 - Initial COPR Package