# Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} %bcond_without bootstrap # https://github.com/containerd/stargz-snapshotter %global goipath github.com/containerd/stargz-snapshotter Version: 0.13.0 %global commit 6814ce4c2bf47f91cd2809f3bcbb3ce36a78c5e3 %gometa %global common_description %{expand: Fast container image distribution plugin with lazy pulling.} %global golicenses NOTICE.md LICENSE %global godocs docs README.md Name: %{goname} Release: %autorelease Summary: Fast container image distribution plugin with lazy pulling License: Apache-2.0 and BSD-3-Clause URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep # Remove ipfs module. It's not needed by any of this package's dependents, # and it brings in extra, unpackaged dependencies. rm -rfv ipfs/ # Remove binaries that are already provided by stargz-snapshotter and bring in # extra dependencies. rm -rfv cmd/ %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # Requires network # estargz/zstdchunked, metadata/db, metadata/memory: OOM on i686 %gocheck -t nativeconverter -d estargz/zstdchunked -d metadata/db -d metadata/memory %endif %endif %gopkgfiles %changelog %autochangelog