%bcond_without check Name: bootc # Replaced by cargo xtask package-srpm Version: 202312081348.g7649bab4d4 Release: 1%{?dist} Summary: Boot containers License: ASL 2.0 URL: https://github.com/containers/bootc Source0: https://github.com/containers/bootc/releases/download/v%{version}/bootc-%{version}.tar.zst Source1: https://github.com/containers/bootc/releases/download/v%{version}/bootc-%{version}-vendor.tar.zst 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 %description %{summary} %files %license LICENSE-APACHE LICENSE-MIT %doc README.md %{_bindir}/bootc %{_prefix}/lib/bootc %{_mandir}/man8/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 * Tue Oct 18 2022 Colin Walters - Dummy changelog