generated from demus/golang-rpm
Re-add compat package
This commit is contained in:
parent
c9646507ce
commit
f456dde089
@ -1,5 +1,5 @@
|
|||||||
# Generated by go2rpm 1.15.0
|
# Generated by go2rpm 1.15.0
|
||||||
%bcond check 1
|
%bcond check 0
|
||||||
%bcond bootstrap 0
|
%bcond bootstrap 0
|
||||||
|
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
@ -13,14 +13,13 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
# https://github.com/kubernetes-sigs/structured-merge-diff
|
# https://github.com/kubernetes-sigs/structured-merge-diff
|
||||||
%global goipath sigs.k8s.io/structured-merge-diff/v4
|
%global goipath sigs.k8s.io/structured-merge-diff
|
||||||
%global forgeurl https://github.com/kubernetes-sigs/structured-merge-diff
|
%global forgeurl https://github.com/kubernetes-sigs/structured-merge-diff
|
||||||
Version: 4.4.2
|
Version: 4.4.2
|
||||||
|
|
||||||
%global goname golang-sigs-k8s-structured-merge-diff
|
%gometa -f
|
||||||
%global godevelname %{goname}-devel
|
|
||||||
|
|
||||||
%gometa -L -f
|
%global goaltipaths sigs.k8s.io/structured-merge-diff/v4
|
||||||
|
|
||||||
%global common_description %{expand:
|
%global common_description %{expand:
|
||||||
Test cases and implementation for "server-side apply".}
|
Test cases and implementation for "server-side apply".}
|
||||||
@ -30,7 +29,7 @@ Test cases and implementation for "server-side apply".}
|
|||||||
conduct.md
|
conduct.md
|
||||||
|
|
||||||
Name: %{goname}
|
Name: %{goname}
|
||||||
Release: %autorelease -b 2
|
Release: %autorelease -b 4
|
||||||
Summary: Test cases and implementation for "server-side apply"
|
Summary: Test cases and implementation for "server-side apply"
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -53,7 +52,7 @@ Source: %{gosource}
|
|||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
%build
|
%build
|
||||||
for cmd in smd; do
|
for cmd in smd; do
|
||||||
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/v4/$cmd
|
||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user