## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/keybase/go-ps %global goipath github.com/keybase/go-ps %global commit 91aafc93ba19d1988cff338c1929d35b6c6f5b50 %gometa -f %global common_description %{expand: Find, list, and inspect processes from Go (golang).} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Find, list, and inspect processes from Go (golang) License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # github.com/keybase/go-ps #./process_openbsd.go:26:1: misplaced +build comment sed -i '/\/\/ +build ignore/d' process_openbsd.go %gocheck %endif %gopkgfiles %changelog * Fri Oct 07 2022 Anthony Rabbito 0-0.1 - Initial import (fedora#2120447).