Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37547750
en ru br
ALT Linux repos
S:0.5.4-alt1

Group :: Development/Other
RPM: golang-dep

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define import_path github.com/golang/dep


Name: golang-dep
Version: 0.5.4
Release: alt1
Summary: Go dependency management tool
License: BSD
Group: Development/Other
Url: https://github.com/golang/dep

# https://github.com/golang/dep.git

Source: %name-%version.tar

ExclusiveArch: %go_arches

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

%description
dep is a prototype dependency management tool for Go.
It requires Go 1.9 or newer to compile. dep is safe for production use.

dep is the official experiment, but not yet the official tool.
Check out the Roadmap for more on what this means!

%prep
%setup

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

%golang_prepare

pushd .build/src/%import_path
%golang_build cmd/*
popd

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

%golang_install

%files
%doc LICENSE AUTHORS README.md
%_bindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin