generated from demus/golang-rpm
134 lines
4.5 KiB
RPMSpec
134 lines
4.5 KiB
RPMSpec
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.6.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 22;
|
|
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 1.15.0
|
|
%bcond check 1
|
|
%bcond bootstrap 0
|
|
|
|
%global debug_package %{nil}
|
|
|
|
# https://github.com/kubernetes/utils
|
|
%global goipath k8s.io/utils
|
|
%global forgeurl https://github.com/kubernetes/utils
|
|
%global commit 3ea5e8cea73810f6d2951b37183cf91e19f63455
|
|
|
|
%gometa
|
|
|
|
%global common_description %{expand:
|
|
A set of Go libraries that provide low-level, kubernetes-independent packages
|
|
supplementing the Go standard libs.}
|
|
|
|
%global golicenses LICENSE
|
|
%global godocs CONTRIBUTING.md HOWTOMOVE.md README.md code-of-\\\
|
|
conduct.md
|
|
|
|
Name: %{goname}
|
|
Version: 0
|
|
Release: %autorelease -p
|
|
Summary: Non-Kubernetes-specific utility libraries consumed by multiple projects
|
|
|
|
# Upstream license specification: Apache-2.0
|
|
License: ASL 2.0
|
|
URL: %{gourl}
|
|
Source0: %{gosource}
|
|
|
|
BuildRequires: golang(github.com/davecgh/go-spew/spew) >= 1.1.1
|
|
BuildRequires: golang(k8s.io/klog/v2) >= 2.80.1
|
|
|
|
%if %{with check}
|
|
# Tests
|
|
BuildRequires: golang(github.com/spf13/afero)
|
|
BuildRequires: golang(github.com/stretchr/testify/assert)
|
|
%endif
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
%gopkg
|
|
|
|
%prep
|
|
%goprep
|
|
|
|
%install
|
|
%gopkginstall
|
|
|
|
%if %{without bootstrap}
|
|
%if %{with check}
|
|
%check
|
|
%gocheck
|
|
%endif
|
|
%endif
|
|
|
|
%gopkgfiles
|
|
|
|
%changelog
|
|
## START: Generated by rpmautospec
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Mon Jun 17 2024 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.20
|
|
- Fix FTBFS
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Wed Aug 10 2022 Maxwell G <gotmax@e.email> - 0-0.15
|
|
- Rebuild to fix FTBFS
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Fri Aug 20 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.12
|
|
- Bump to commit bdf08cb9a70a05bd10b6fe605643a9cbab6effd5
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Wed Jan 13 21:59:33 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.8.20210113gitfddb29f
|
|
- Bump to commit fddb29f9d0095a7a37582a1d86732ae83620f2e8
|
|
|
|
* Wed Sep 30 01:05:19 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.7.20200930git4140de9
|
|
- Bump to commit 4140de9c8800f5b18f8fc59798e11862f2bb00cb
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Mon Jun 15 15:12:26 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20200615gitc1c6865
|
|
- Bump to commit c1c6865ac45113491fd8207923d28d4bcff03a88
|
|
|
|
* Wed Feb 05 22:50:43 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20200205git8619460
|
|
- Bump to commit 861946025e3491219eaccb1bf693e23df70c2fa8
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Mon May 13 01:32:20 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190629git8fab8cb
|
|
- Initial package
|
|
|
|
## END: Generated by rpmautospec
|