# https://github.com/containers/podman-bootc %global goipath github.com/containers/podman-bootc Version: v0.1.1~118~g8cab0b4 %gometa -L -f %global golicenses LICENSE %global godocs README.md Name: podman-bootc Release: 1.20241108180527123442.pr77.118.8cab0b4%{?dist} Summary: Streamlining podman + bootc interactions License: Apache-2.0 URL: %{gourl} Source0: podman-bootc-v0.1.1-118-g8cab0b4.tar.gz Source1: podman-bootc-v0.1.1-118-g8cab0b4-vendor.tar.gz BuildRequires: gcc BuildRequires: golang BuildRequires: make BuildRequires: libvirt-devel Requires: podman-machine Requires: xorriso Requires: podman Requires: qemu Requires: libvirt %description %{summary}. %gopkg %prep %goprep -Ak # k: keep vendor directory %setup -T -D -a 1 %autopatch -p1 %build export BUILDTAGS="exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" %gobuild -o %{gobuilddir}/bin/%%{name} %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog %autochangelog