%bcond_without check Name: bootc # Replaced by cargo xtask spec Version: 202411052042.g09bb0b2d4d Release: 1%{?dist} Summary: Boot containers License: ASL 2.0 URL: https://github.com/containers/bootc Source0: bootc-202411052042.g09bb0b2d4d.tar.zstd Source1: bootc-202411052042.g09bb0b2d4d-vendor.tar.zstd BuildRequires: make BuildRequires: openssl-devel BuildRequires: cargo BuildRequires: systemd # For autosetup -Sgit BuildRequires: git BuildRequires: zlib-devel BuildRequires: ostree-devel BuildRequires: openssl-devel BuildRequires: systemd-devel BuildRequires: libzstd-devel %description %{summary} %files %license LICENSE-APACHE LICENSE-MIT %doc README.md %{_bindir}/bootc %{_prefix}/lib/systemd/system-generators/* %{_prefix}/lib/bootc %{_unitdir}/* %{_mandir}/man*/bootc* %prep %autosetup -p1 -Sgit tar -xv -f %{SOURCE1} mkdir -p .cargo cat >>.cargo/config.toml << EOF [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build make %install %make_install INSTALL="install -p -c" %changelog %autochangelog