1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
%global import_path golang.org/x/net %global commit 1f9224279e98554b6a6432d4dd998a739f8b2b7c %global abbrev %(c=%{commit}; echo ${c:0:8}) Name: golang-golang-x-net Version: 0 Release: alt3.git%abbrev Summary: Go supplementary network libraries License: MIT Group: Development/Other Url: https://godoc.org/%import_path Source: %name-%version.tar Packager: Denis Pynkin <dans@altlinux.ru> ExclusiveArch: %go_arches BuildRequires(pre): rpm-build-golang BuildArch: noarch BuildRequires: golang-tools %description Go supplementary network libraries %package devel Summary: golang-golang-x-net Group: Development/Other Requires: golang Provides: golang(%import_path) = %version-%release %description devel Go supplementary network libraries %prep %setup -q %build export BUILDDIR="$PWD/.build" export IMPORT_PATH="%import_path" %golang_prepare %install export BUILDDIR="$PWD/.build" export GOPATH="%go_path" %golang_install %files devel %doc AUTHORS README LICENSE PATENTS %go_path/src/* %changelog * Fri Jun 30 2017 Denis Pynkin <dans@altlinux.org> 0-alt3.git1f922427 - Update * Mon Mar 13 2017 Denis Pynkin <dans@altlinux.org> 0-alt2.gita6577fac - Update * Fri Nov 25 2016 Denis Pynkin <dans@altlinux.org> 0-alt1.git4971afdc - Initial package