## 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/withfig/autocomplete-tools # Multi-language mono-repo intergrating the "fig" shell in various ways # This package just cares about the ipath of github.com/withfig/autocomplete-tools/integrations/cobra # It was recetently split from integrations/cobra and hasn't received a tag yet. %global goipath github.com/withfig/autocomplete-tools/integrations/cobra %global gosourcedir0 %{_builddir}/%{topdir}/integrations/cobra Version: 0 %global commit 41b7753859e9773a4fd0fbda393f2db9ddb0b952 %gometa -f %global common_description %{expand: Cobra intergration for the fig shell.} %global golicenses LICENSE integrations/cobra/LICENSE-COBRA %global godocs README.md README-cobra.md Name: %{goname} Release: %autorelease -p Summary: Command line tools for working with Fig autocomplete specs License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep # CWD is in gosourcedir0 mv README.md README-cobra.md mv LICENSE LICENSE-COBRA %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Oct 13 2022 Anthony Rabbito 0-0.1 - Initial import (fedora#2132377).