bump to v1.1.1

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-04-01 12:04:39 -04:00
parent 8c00e8b697
commit b74d188b5f
3 changed files with 31 additions and 9 deletions

1
.gitignore vendored
View File

@ -61,3 +61,4 @@
/v1.0.0.tar.gz /v1.0.0.tar.gz
/v1.0.1.tar.gz /v1.0.1.tar.gz
/v1.1.0.tar.gz /v1.1.0.tar.gz
/v1.1.1.tar.gz

View File

@ -1,5 +1,3 @@
%global with_devel 1
%if 0%{?fedora} %if 0%{?fedora}
%global with_debug 1 %global with_debug 1
%else %else
@ -13,10 +11,6 @@
%global debug_package %{nil} %global debug_package %{nil}
%endif %endif
%if ! 0%{?gobuild:1}
%define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x %{?**};
%endif
%global provider github %global provider github
%global provider_tld com %global provider_tld com
%global project containernetworking %global project containernetworking
@ -24,7 +18,7 @@
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
%global git0 https://%{import_path} %global git0 https://%{import_path}
%global built_tag v1.1.0 %global built_tag v1.1.1
%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) %global built_tag_strip %(b=%{built_tag}; echo ${b:1})
%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) %global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
@ -32,7 +26,7 @@ Name: %{project}-%{repo}
Version: %{gen_version} Version: %{gen_version}
Release: %autorelease Release: %autorelease
Summary: Libraries for writing CNI plugin Summary: Libraries for writing CNI plugin
License: ASL 2.0 License: ASL 2.0 and BSD and MIT
URL: %{git0} URL: %{git0}
Source0: %{git0}/archive/%{built_tag}.tar.gz Source0: %{git0}/archive/%{built_tag}.tar.gz
BuildRequires: golang >= 1.16.6 BuildRequires: golang >= 1.16.6
@ -47,6 +41,33 @@ Obsoletes: %{project}-cni < 0.7.1-2
Provides: %{project}-cni = %{version}-%{release} Provides: %{project}-cni = %{version}-%{release}
Provides: kubernetes-cni Provides: kubernetes-cni
Provides: container-network-stack = 1 Provides: container-network-stack = 1
# vendored libraries
# awk '{print "Provides: bundled(golang("$1")) = "$2}' go.mod | sort | uniq | sed -e 's/-/_/g' -e '/bundled(golang())/d' -e '/bundled(golang(go\|module\|replace\|require))/d'
Provides: bundled(golang(github.com/Microsoft/go_winio)) = v0.4.17
Provides: bundled(golang(github.com/Microsoft/hcsshim)) = v0.8.20
Provides: bundled(golang(github.com/alexflint/go_filemutex)) = v1.1.0
Provides: bundled(golang(github.com/buger/jsonparser)) = v1.1.1
Provides: bundled(golang(github.com/containerd/cgroups)) = v1.0.1
Provides: bundled(golang(github.com/containernetworking/cni)) = v1.0.1
Provides: bundled(golang(github.com/coreos/go_iptables)) = v0.6.0
Provides: bundled(golang(github.com/coreos/go_systemd/v22)) = v22.3.2
Provides: bundled(golang(github.com/d2g/dhcp4)) = v0.0.0_20170904100407_a1d1b6c41b1c
Provides: bundled(golang(github.com/d2g/dhcp4client)) = v1.0.0
Provides: bundled(golang(github.com/d2g/dhcp4server)) = v0.0.0_20181031114812_7d4a0a7f59a5
Provides: bundled(golang(github.com/fsnotify/fsnotify)) = v1.4.9
Provides: bundled(golang(github.com/godbus/dbus/v5)) = v5.0.4
Provides: bundled(golang(github.com/gogo/protobuf)) = v1.3.2
Provides: bundled(golang(github.com/golang/groupcache)) = v0.0.0_20200121045136_8c9f03a8e57e
Provides: bundled(golang(github.com/mattn/go_shellwords)) = v1.0.12
Provides: bundled(golang(github.com/networkplumbing/go_nft)) = v0.2.0
Provides: bundled(golang(github.com/nxadm/tail)) = v1.4.8
Provides: bundled(golang(github.com/onsi/ginkgo)) = v1.16.4
Provides: bundled(golang(github.com/onsi/gomega)) = v1.15.0
Provides: bundled(golang(github.com/pkg/errors)) = v0.9.1
Provides: bundled(golang(github.com/safchain/ethtool)) = v0.0.0_20210803160452_9aa261dae9b1
Provides: bundled(golang(github.com/sirupsen/logrus)) = v1.8.1
Provides: bundled(golang(github.com/vishvananda/netlink)) = v1.1.1_0.20210330154013_f5de75959ad5
Provides: bundled(golang(github.com/vishvananda/netns)) = v0.0.0_20210104183010_2eb08e3e575f
%description %description
The CNI (Container Network Interface) project consists of a specification The CNI (Container Network Interface) project consists of a specification

View File

@ -1 +1 @@
SHA512 (v1.1.0.tar.gz) = 43cfcb0225cbc85cc75205cefac75f852fccce1a71b0384fe1f989e64c37508fc3b87cbc05c6dac679aea8950c3cd4d328a616fa79b52474561c624164da0206 SHA512 (v1.1.1.tar.gz) = 03da31caee5f9595abf65d4a551984b995bc18c5e97409549f08997c5a6a2b41a8950144f8a5b4f810cb401ddbe312232d2be76ec977acf8108eb490786b1817