## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/kubernetes/csi-translation-lib %global goipath k8s.io/csi-translation-lib %global forgeurl https://github.com/kubernetes/csi-translation-lib Version: 1.22.0 %global tag kubernetes-1.22.0 %global distprefix %{nil} %gometa %global common_description %{expand: Staging repo for CSI Migration/Translation libraries.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md code-of-conduct.md Name: %{goname} Release: %autorelease Summary: Staging repo for CSI Migration/Translation libraries # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(k8s.io/api/core/v1) BuildRequires: golang(k8s.io/api/storage/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/apis/meta/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/util/sets) BuildRequires: golang(k8s.io/klog/v2) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(k8s.io/apimachinery/pkg/util/uuid) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G 1.22.0-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 1.22.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 03 2021 Robert-André Mauchin 1.22.0-2 - Remove extra klog replacement * Fri Aug 27 2021 Robert-André Mauchin 1.22.0-1 - Update to 1.22.0 * Thu Jul 22 2021 Fedora Release Engineering - 1.18.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.18.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Sep 30 12:00:51 CEST 2020 Robert-André Mauchin - 1.18.9-1 - Update to 1.18.9 * Mon Jul 27 2020 Fedora Release Engineering - 1.18.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 06 17:59:24 CEST 2020 Robert-André Mauchin - 1.18.3-1 - Update to 1.18.3 * Wed Jan 29 2020 Fedora Release Engineering - 1.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 07 15:15:15 CEST 2019 Robert-André Mauchin - 1.15.0-1 - Initial package