## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; 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/ipfs/go-cid %global goipath github.com/ipfs/go-cid Version: 0.1.0 %gometa %global common_description %{expand: Content ID v1 implemented in go.} %global golicenses LICENSE %global godocs README.md _rsrch/cidiface/README.md Name: %{goname} Release: %autorelease Summary: Content ID v1 implemented in go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/multiformats/go-multibase) BuildRequires: golang(github.com/multiformats/go-multihash) BuildRequires: golang(github.com/multiformats/go-varint) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Feb 16 2022 Robert-André Mauchin 0.1.0-1 - Initial release