## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/opencontainers/image-spec %global goipath github.com/opencontainers/image-spec Version: 1.0.2 # Needed for containerd (zstd compression) %global commit 8b9d41f48198a7d6d0a5c1a12dc2d1f7f47fc97f %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\\\ manifest.md media-types.md project.md spec.md Name: %{goname} Release: %autorelease Summary: OCI Image Format Specification # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/opencontainers/go-digest) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/xeipuuv/gojsonreference) BuildRequires: golang(github.com/xeipuuv/gojsonschema) 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) %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * sam. févr. 05 2022 Robert-André Mauchin 1.0.2-4 - Bump to commit 8b9d41f48198a7d6d0a5c1a12dc2d1f7f47fc97f * Thu Jan 20 2022 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 20 2021 Maxwell G - 1.0.2-1 - Update to 1.0.2. Fixes rhbz#2024388. - Mitigates CVE-2021-41190. Fixes rhbz#2024938 and rhbz#2024939. * Thu Jul 22 2021 Fedora Release Engineering - 1.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jul 30 17:39:24 CEST 2020 Robert-André Mauchin - 1.0.1-5.20200730git79b036d - Bump to commit 79b036d80240ae530a8de15e1d21c7ab9292c693 * Mon Jul 27 2020 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 02 00:08:44 CEST 2019 Robert-André Mauchin - 1.0.1-1.20190626gitda296dc - Initial package