## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/ipfs/iptb %global goipath github.com/ipfs/iptb Version: 1.4.0 %global commit 3e0e848374800e1dc81138aca60efda5ee415dd3 %gometa -f %global common_description %{expand: iptb is a program used to create and manage a cluster of sandboxed nodes locally on your computer. Spin up 1000s of nodes! Using iptb makes testing libp2p networks easy! } %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: IPFS's InterPlanetary TestBed License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/iptb %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/* %gopkgfiles %changelog * Wed Sep 06 2023 John Doe - 1.4.0-1 - Uncommitted changes