|
|
6abd355 |
# Generated by go2rpm
|
|
|
6abd355 |
%bcond_without check
|
|
|
6abd355 |
|
|
|
6abd355 |
# https://github.com/kubernetes/sample-controller
|
|
|
6abd355 |
%global goipath k8s.io/sample-controller
|
|
|
6abd355 |
%global forgeurl https://github.com/kubernetes/sample-controller
|
|
|
c0b768a |
Version: 1.18.9
|
|
|
c0b768a |
%global tag kubernetes-1.18.9
|
|
|
6abd355 |
%global distprefix %{nil}
|
|
|
6abd355 |
|
|
|
6abd355 |
%gometa
|
|
|
6abd355 |
|
|
|
6abd355 |
%global common_description %{expand:
|
|
|
6abd355 |
This package implements a simple controller for watching Foo resources as
|
|
|
6abd355 |
defined with a CustomResourceDefinition (CRD).}
|
|
|
6abd355 |
|
|
|
6abd355 |
%global golicenses LICENSE
|
|
|
6abd355 |
%global godocs docs CONTRIBUTING.md code-of-conduct.md README.md
|
|
|
6abd355 |
|
|
|
6abd355 |
Name: %{goname}
|
|
|
6fd22b9 |
Release: 2%{?dist}
|
|
|
6abd355 |
Summary: Simple controller for watching Foo resources
|
|
|
6abd355 |
|
|
|
6abd355 |
# Upstream license specification: Apache-2.0
|
|
|
6abd355 |
License: ASL 2.0
|
|
|
6abd355 |
URL: %{gourl}
|
|
|
6abd355 |
Source0: %{gosource}
|
|
|
6abd355 |
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/api/apps/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/api/core/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/api/errors)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/apis/meta/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/labels)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/runtime)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/schema)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/serializer)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/types)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/util/runtime)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/util/wait)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/watch)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/discovery)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/discovery/fake)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/informers)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/informers/apps/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/kubernetes)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/kubernetes/scheme)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/kubernetes/typed/core/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/listers/apps/v1)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/rest)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/testing)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/tools/cache)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/tools/clientcmd)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/tools/record)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/util/flowcontrol)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/util/workqueue)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/klog)
|
|
|
6abd355 |
|
|
|
6abd355 |
%if %{with check}
|
|
|
6abd355 |
# Tests
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/apimachinery/pkg/util/diff)
|
|
|
6abd355 |
BuildRequires: golang(k8s.io/client-go/kubernetes/fake)
|
|
|
6abd355 |
%endif
|
|
|
6abd355 |
|
|
|
6abd355 |
%description
|
|
|
6abd355 |
%{common_description}
|
|
|
6abd355 |
|
|
|
6abd355 |
%gopkg
|
|
|
6abd355 |
|
|
|
6abd355 |
%prep
|
|
|
6abd355 |
%goprep
|
|
|
6abd355 |
|
|
|
6abd355 |
%build
|
|
|
6abd355 |
%gobuild -o %{gobuilddir}/bin/sample-controller %{goipath}
|
|
|
6abd355 |
|
|
|
6abd355 |
%install
|
|
|
6abd355 |
%gopkginstall
|
|
|
6abd355 |
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
6abd355 |
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
6abd355 |
|
|
|
6abd355 |
%if %{with check}
|
|
|
6abd355 |
%check
|
|
|
6abd355 |
%gocheck
|
|
|
6abd355 |
%endif
|
|
|
6abd355 |
|
|
|
6abd355 |
%files
|
|
|
6abd355 |
%license LICENSE
|
|
|
6abd355 |
%doc docs CONTRIBUTING.md code-of-conduct.md README.md
|
|
|
6abd355 |
%{_bindir}/*
|
|
|
6abd355 |
|
|
|
6abd355 |
%gopkgfiles
|
|
|
6abd355 |
|
|
|
6abd355 |
%changelog
|
|
|
6fd22b9 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.3-2
|
|
|
6fd22b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6fd22b9 |
|
|
|
754ad01 |
* Mon Jul 06 16:13:09 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.18.3-1
|
|
|
754ad01 |
- Update to 1.18.3
|
|
|
754ad01 |
|
|
|
0c5c606 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-3
|
|
|
0c5c606 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0c5c606 |
|
|
|
fc39954 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
|
|
|
fc39954 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fc39954 |
|
|
|
29b70d8 |
* Sun Jul 07 14:26:05 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.15.0-1
|
|
|
29b70d8 |
- Release 1.15.0
|
|
|
29b70d8 |
|
|
|
6abd355 |
* Mon May 20 17:19:33 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.13.7-1.beta.0
|
|
|
6abd355 |
- Initial package
|