summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-05-18 00:03:32 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-05-18 00:03:32 +0000
commitc062fd7f8669b1d50770d32fdb58c77debf3910a (patch)
treef1f8240cee5812f37542f7feda80e715c1cd881a
parentc8fd3dc0d002eb3745dc7379da65faeef6d608d8 (diff)
automatic import of golang-github-google-nftablesHEADmasterf38f37f36
-rw-r--r--.gitignore1
-rw-r--r--golang-github-google-nftables.spec53
-rw-r--r--sources1
3 files changed, 55 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..91fdef5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..61fdf93
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9efa300afa970d9d0d11361dd1fb6ce6 nftables-0.1.0.tar.gz