# Generated by go2rpm 1.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/opencontainers/image-spec %global goipath github.com/opencontainers/image-spec Version: 1.1.0~rc2 %global tag v1.1.0-rc2 %global distprefix %nil %gometa %global common_description %{expand: The OCI Image Format project creates and maintains the software shipping container image format spec (OCI Image Format).} %global golicenses LICENSE %global godocs EMERITUS.md GOVERNANCE.md HACKING.md README.md\\\ RELEASES.md annotations.md config.md\\\ considerations.md conversion.md descriptor.md image-\\\ index.md image-layout.md implementations.md layer.md\\\ media-types.md project.md spec.md artifact.md\\\ manifest.md Name: %{goname} Release: %autorelease Summary: OCI Image Format Specification License: Apache-2.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(gopkg.in/russross/blackfriday.v1) %description %{common_description} %gopkg %prep %goprep sed -i 's|github.com/russross/blackfriday|gopkg.in/russross/blackfriday.v1|' $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog