diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-05-18 00:03:32 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-05-18 00:03:32 +0000 |
commit | c062fd7f8669b1d50770d32fdb58c77debf3910a (patch) | |
tree | f1f8240cee5812f37542f7feda80e715c1cd881a | |
parent | c8fd3dc0d002eb3745dc7379da65faeef6d608d8 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | golang-github-google-nftables.spec | 53 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 55 insertions, 0 deletions
@@ -0,0 +1 @@ +/nftables-0.1.0.tar.gz diff --git a/golang-github-google-nftables.spec b/golang-github-google-nftables.spec new file mode 100644 index 0000000..91ee345 --- /dev/null +++ b/golang-github-google-nftables.spec @@ -0,0 +1,53 @@ +# 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 @@ -0,0 +1 @@ +9efa300afa970d9d0d11361dd1fb6ce6 nftables-0.1.0.tar.gz |