%global debug_package %{nil} %if 0%{?fedora} >= 40 %define llvm_version 17 %endif Name: ivm Version: 0.5.0 Release: 1%{?dist} Summary: The cross-platform Inko version manager License: MPL-2.0 URL: https://github.com/inko-lang/ivm Source: https://github.com/inko-lang/ivm/archive/refs/tags/v%{version}.tar.gz Recommends: llvm%{?llvm_version} Recommends: llvm%{?llvm_version}-devel Recommends: llvm%{?llvm_version}-static Recommends: libstdc++-devel libstdc++-static libffi-devel zlib-devel Requires: rust cargo BuildRequires: rust cargo make %description ivm is a version manager for Inko, and makes it easy to install Inko on different platforms. %files -n %{name} %{_bindir}/ivm %{_datadir}/* %prep %autosetup -n %{name}-%{version_no_tilde} -p0 %build make build %install make install DESTDIR=%{buildroot} %changelog %autochangelog