containernetworking-plugins-1.0.0-21
- fix release tag and built v1.0.0 Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
7ae01ed980
commit
13cbfa5cc4
1
.gitignore
vendored
1
.gitignore
vendored
@ -58,3 +58,4 @@
|
||||
/78702e9d8a2cdb6931fab433f1d1e6789162954f.tar.gz
|
||||
/5238c13aa96ccacb1329903935c83a424e2cd8b6.tar.gz
|
||||
/2876cd54760199f4eedd8439727ad6d2fa9b142e.tar.gz
|
||||
/v1.0.0.tar.gz
|
||||
|
||||
@ -26,22 +26,19 @@
|
||||
%global repo plugins
|
||||
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||
%global git0 https://%{import_path}
|
||||
%global commit0 2876cd54760199f4eedd8439727ad6d2fa9b142e
|
||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||
|
||||
# Used for comparing with latest upstream tag
|
||||
# to decide whether to autobuild
|
||||
%define built_tag v1.0.0-rc1
|
||||
%define built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
||||
%define download_url %{git0}/archive/%{built_tag}.tar.gz
|
||||
%global built_tag v1.0.0
|
||||
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
||||
|
||||
Name: %{project}-%{repo}
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Summary: Libraries for writing CNI plugin
|
||||
License: ASL 2.0
|
||||
URL: %{git0}
|
||||
Source0: %{git0}/archive/%{commit0}.tar.gz
|
||||
Source0: %{git0}/archive/%{built_tag}.tar.gz
|
||||
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
|
||||
BuildRequires: golang >= 1.16.6
|
||||
BuildRequires: go-rpm-macros
|
||||
@ -151,7 +148,7 @@ providing packages with %{import_path} prefix.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit -n %{repo}-%{commit0}
|
||||
%autosetup -Sgit -n %{repo}-%{built_tag_strip}
|
||||
rm -rf plugins/main/windows
|
||||
|
||||
# Use correct paths in cni-dhcp unitfiles
|
||||
@ -295,6 +292,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 19 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.0.0-21
|
||||
- fix release tag and built v1.0.0
|
||||
|
||||
* Mon Aug 16 2021 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.0.0-1
|
||||
- autobuilt v1.0.0
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (2876cd54760199f4eedd8439727ad6d2fa9b142e.tar.gz) = a82185ffa89b9796776aff1021ce0ace2cb1cd244cea6b4846637321c9cff1ba73997eb318df2f032808e01adbdd6c109c318f1a2317aaf2367b3dcaedadacc8
|
||||
SHA512 (v1.0.0.tar.gz) = daf820bc0ce0278e0dd5782f29b5302c880ab6cbbe2dc0b043948ab2c8213e63374914fa85a74edcbc89d1632006a92bf7b1ba004defbd6a6df3dcecfdefdfb3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user