Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lixy
operator-framework-operator-sdk-1.34.1
operator-sdk_1.34.1-1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File operator-sdk_1.34.1-1.spec of Package operator-framework-operator-sdk-1.34.1
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. %global debug_package %{nil} %global source_date_epoch_from_changelog 0 Name: operator-sdk Epoch: 100 Version: 1.34.1 Release: 1%{?dist} Summary: SDK for building Kubernetes applications License: Apache-2.0 URL: https://github.com/operator-framework/operator-sdk/tags Source0: %{name}_%{version}.orig.tar.gz BuildRequires: golang-1.22 BuildRequires: glibc-static Requires: ansible-operator-plugins >= 1.34.1 %description The Operator SDK is a framework that uses the controller-runtime library to make writing operators easier by providing: - High level APIs and abstractions to write the operational logic more intuitively - Tools for scaffolding and code generation to bootstrap a new project fast - Extensions to cover common Operator use cases %prep %autosetup -T -c -n %{name}_%{version}-%{release} tar -zx -f %{S:0} --strip-components=1 -C . %build mkdir -p bin set -ex && \ export CGO_ENABLED=1 && \ go build \ -mod vendor -buildmode pie -v \ -ldflags "-s -w \ -X github.com/operator-framework/operator-sdk/internal/version.Version=v1.34.1 \ -X github.com/operator-framework/operator-sdk/internal/version.GitVersion=v1.34.1 \ -X github.com/operator-framework/operator-sdk/internal/version.GitCommit=4e01bcd726aa8b0e092fcd3ab874961e276f3db3 \ -X github.com/operator-framework/operator-sdk/internal/version.KubernetesVersion=v1.28.0 \ -X github.com/operator-framework/operator-sdk/internal/version.ImageVersion=v1.34.1 \ " \ -o ./bin/operator-sdk ./cmd/operator-sdk && \ go build \ -mod vendor -buildmode pie -v \ -ldflags "-s -w \ -X github.com/operator-framework/operator-sdk/internal/version.Version=v1.34.1 \ -X github.com/operator-framework/operator-sdk/internal/version.GitVersion=v1.34.1 \ -X github.com/operator-framework/operator-sdk/internal/version.GitCommit=4e01bcd726aa8b0e092fcd3ab874961e276f3db3 \ -X github.com/operator-framework/operator-sdk/internal/version.KubernetesVersion=v1.28.0 \ -X github.com/operator-framework/operator-sdk/internal/version.ImageVersion=v1.34.1 \ " \ -o ./bin/helm-operator ./cmd/helm-operator %install install -Dpm755 -d %{buildroot}%{_bindir} install -Dpm755 -d %{buildroot}%{_prefix}/share/bash-completion/completions install -Dpm755 -t %{buildroot}%{_bindir}/ bin/* ./bin/helm-operator completion bash > %{buildroot}%{_prefix}/share/bash-completion/completions/helm-operator ./bin/operator-sdk completion bash > %{buildroot}%{_prefix}/share/bash-completion/completions/operator-sdk %files %license LICENSE %{_bindir}/* %{_prefix}/share/bash-completion/completions/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor