# Generated by rust2rpm 25 %bcond_without check %global crate scx_rustland Name: rust-scx_rustland Version: 0.0.2 Release: %autorelease Summary: Userspace scheduling with BPF License: GPL-2.0-only URL: https://crates.io/crates/scx_rustland Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 ExcludeArch: %{ix86} %global _description %{expand: Userspace scheduling with BPF.} %description %{_description} %package -n %{crate} Summary: %{summary} License: ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) AND Zlib # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/scx_rustland %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog