Group :: Development/Other
RPM: golang-golang-x-net
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global import_path golang.org/x/net
%global commit f73e4c9ed3b7ebdd5f699a16a880c2b1994e50dd
%global abbrev %(c=%{commit}; echo ${c:0:8})
Name: golang-golang-x-net
Version: 0
Release: alt6.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 at 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.md LICENSE PATENTS
%go_path/src/*
%changelog
…
Full changelog you can see here
%global commit f73e4c9ed3b7ebdd5f699a16a880c2b1994e50dd
%global abbrev %(c=%{commit}; echo ${c:0:8})
Name: golang-golang-x-net
Version: 0
Release: alt6.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 at 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.md LICENSE PATENTS
%go_path/src/*
%changelog
…
Full changelog you can see here