Re-add compat package

This commit is contained in:
Daniel Demus 2025-01-09 23:08:58 +01:00
parent c9646507ce
commit f456dde089

View File

@ -1,5 +1,5 @@
# Generated by go2rpm 1.15.0
%bcond check 1
%bcond check 0
%bcond bootstrap 0
%if %{with bootstrap}
@ -13,14 +13,13 @@
%global debug_package %{nil}
# 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
Version: 4.4.2
%global goname golang-sigs-k8s-structured-merge-diff
%global godevelname %{goname}-devel
%gometa -f
%gometa -L -f
%global goaltipaths sigs.k8s.io/structured-merge-diff/v4
%global common_description %{expand:
Test cases and implementation for "server-side apply".}
@ -30,7 +29,7 @@ Test cases and implementation for "server-side apply".}
conduct.md
Name: %{goname}
Release: %autorelease -b 2
Release: %autorelease -b 4
Summary: Test cases and implementation for "server-side apply"
License: Apache-2.0
@ -53,7 +52,7 @@ Source: %{gosource}
%if %{without bootstrap}
%build
for cmd in smd; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/v4/$cmd
done
%endif