# Generated by rust2rpm 26, edited manually %bcond_without check # prevent library files from being installed %global cargo_install_lib 0 %global crate crun-vm Name: crun-vm Version: 0.1.3 Release: %autorelease Summary: An OCI Runtime that runs VM images SourceLicense: GPL-2.0-or-later # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # GPL-2.0-or-later # MIT # MIT OR Apache-2.0 # MPL-2.0 # MPL-2.0+ # Unlicense OR MIT License: Apache-2.0 AND GPL-2.0-or-later AND MIT AND MPL-2.0 AND MPL-2.0+ AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown URL: https://github.com/containers/crun-vm Source: https://github.com/containers/crun-vm/archive/%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: libselinux-devel Requires: libselinux %global _description %{expand: %{summary}.} %description %{_description} %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 %files %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/crun-vm %changelog %autochangelog