# https://github.com/containers/podman-bootc %global goipath github.com/containers/podman-bootc Version: v0.1.1~114~g949638f %gometa -L -f %global golicenses LICENSE %global godocs README.md Name: podman-bootc Release: 1.20241104183811617969.main.114.949638f%{?dist} Summary: Streamlining podman + bootc interactions License: Apache-2.0 URL: %{gourl} Source0: podman-bootc-v0.1.1-114-g949638f.tar.gz Source1: podman-bootc-v0.1.1-114-g949638f-vendor.tar.gz BuildRequires: gcc BuildRequires: golang BuildRequires: make BuildRequires: libvirt-devel 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