# Generated by go2rpm 1.2 %bcond_without check # https://github.com/moby/term %global goipath github.com/moby/term %global commit 7f0af18e79f2784809e9cef63d0df5aa2c79d76e %gometa %global common_description %{expand: Go utilities for dealing with terminals Package term provides structures and helper functions to work with terminal (state, sizes).} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go utilities for dealing with terminals # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/creack/pty) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(gotest.tools/v3/assert) BuildRequires: golang(gotest.tools/v3/assert/cmp) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Oct 29 21:45:19 CET 2020 Olivier Lemasle - 0-0.1.20201029git7f0af18 - Initial package