Files
golang-github-ipfs-cid-rpm/golang-github-ipfs-cid.spec
2025-01-15 14:10:14 +01:00

58 lines
1.0 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/ipfs/go-cid
%global goipath github.com/ipfs/go-cid
Version: 0.2.0
%global tag v0.2.0
%gometa -L -f
%global common_description %{expand:
Content ID v1 implemented in go.}
%global golicenses LICENSE
%global godocs README.md _rsrch/cidiface/README.md
Name: golang-github-ipfs-cid
Release: %autorelease
Summary: Content ID v1 implemented in go
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog