Group :: Other
RPM: gosu
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%global import_path github.com/tianon/gosu
Name: gosu
Version: 1.12
Release: alt1
Summary: Simple Go-based setuid+setgid+setgroups+exec
License: GPL-3.0
Group: Other
Url: https://github.com/tianon/gosu
Packager: Mikhail Gordeev <obirvalger at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-golang
BuildRequires: golang
%description
%summary
%prep
%setup
# Get dependencies from vendor directory
# To update vendor directory run:
# $ go mod init github.com/tianon/gosu
# $ go mod vendor && rm go.{mod,sum}
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
cd .build/src/%import_path
%golang_build .
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
%files
%_bindir/*
%doc *.md
%changelog
…
Todas as alterações você pod ver aqui
Name: gosu
Version: 1.12
Release: alt1
Summary: Simple Go-based setuid+setgid+setgroups+exec
License: GPL-3.0
Group: Other
Url: https://github.com/tianon/gosu
Packager: Mikhail Gordeev <obirvalger at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-golang
BuildRequires: golang
%description
%summary
%prep
%setup
# Get dependencies from vendor directory
# To update vendor directory run:
# $ go mod init github.com/tianon/gosu
# $ go mod vendor && rm go.{mod,sum}
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
cd .build/src/%import_path
%golang_build .
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
%files
%_bindir/*
%doc *.md
%changelog
…
Todas as alterações você pod ver aqui