%global _missing_build_ids_terminate_build 0 %global debug_package %{nil} %global commit_sha 36d4510 Name: crc Version: 2.37.1 Release: 1%{?dist} Summary: A tool for running local OpenShift cluster Group: Development Tools License: Apache-2.0 URL: https://github.com/crc-org/crc Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: golang >= 1.20 BuildRequires: gpgme-devel Provides: %{name} = %{version} %description CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes %prep %autosetup %build export GOPROXY="https://proxy.golang.org|direct" export GOBIN=$(pwd) %make_build COMMIT_SHA=%{commit_sha} SOURCES="" mkdir completion ./%{name} completion bash > completion/%{name} ./%{name} completion zsh > completion/_%{name} ./%{name} completion fish > completion/%{name}.fish %install install -Dpm 755 %{name} -t %{buildroot}%{_bindir} install -Dpm 644 completion/%{name} -t %{buildroot}%{_datadir}/bash-completion/completions/ install -Dpm 644 completion/_%{name} -t %{buildroot}%{_datadir}/zsh/site-functions/ install -Dpm 644 completion/%{name}.fish -t %{buildroot}%{_datadir}/fish/vendor_completions.d/ %files %license LICENSE %doc README.adoc %{_bindir}/%{name} %{_datadir} %changelog * Thu Jun 06 2024 Matyáš Kroupa - 2.37.1-1 - Update to 2.37.1 * Wed May 15 2024 Matyáš Kroupa - 2.36.0-1 - Update to 2.36.0 * Thu May 02 2024 Matyáš Kroupa - 2.35.0-1 - Update to 2.35.0 * Wed Apr 03 2024 Matyáš Kroupa - 2.34.1-1 - Update to 2.34.1 * Mon Apr 01 2024 Matyáš Kroupa - 2.33.0-2 - Fix binary permissions * Sun Mar 31 2024 Matyáš Kroupa - 2.33.0-1 - Initial version