Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038413
en ru br
Репозитории ALT

Группа :: Other
Пакет: openshift-installer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global import_path github.com/openshift/installer
Name:     openshift-installer
Version:  0.16.1
Release:  alt2

Summary:  Install an OpenShift 4.x cluster
License:  Apache-2.0
Group:    Other
Url:      https://github.com/openshift/installer

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source:   %name-%version.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: golang libvirt-devel

ExcludeArch: %ix86 armh

%description
%summary

%prep
%setup

%build
export GO111MODULE=auto
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

pushd .build/src/%import_path
export TAGS=libvirt
%golang_build cmd/openshift-install
popd

$BUILDDIR/bin/openshift-install > completion-bash


%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install
install -Dm644 completion-bash %buildroot/%_datadir/bash-completion/completions/openshift-install

%files
%_bindir/*
%_datadir/bash-completion/completions/openshift-install
%doc *.md

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin