## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %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 %global debug_package %{nil} # https://github.com/networkplumbing/go-nft %global goipath github.com/networkplumbing/go-nft Version: 0.2.0 %gometa %global common_description %{expand: Go bindings for nft utility.} %global godevelheader %{expand: Requires: nftables-devel} %global golicenses LICENSE %global godocs README.md CONTRIBUTING.md CODE_OF_CONDUCT.md CHANGELOG Name: %{goname} Release: %autorelease Summary: Go bindings for nft utility # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires echo nftables-devel %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 11 2022 Maxwell G 0.2.0-1 - Initial package