# Generated by go2rpm 1.9.0 # https://github.com/google/nftables/issues/210 %ifarch s390x %bcond_with check %else %bcond_without check %endif %global debug_package %{nil} # https://github.com/google/nftables %global goipath github.com/google/nftables Version: 0.1.0 %gometa -f %global common_description %{expand: This repository contains a Go module to interact with Linux nftables (the iptables successor).} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go module to interact with nftables (the iptables successor) License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog