# Generated by go2rpm %bcond_without check # https://github.com/mattn/go-colorable %global goipath github.com/mattn/go-colorable Version: 0.1.1 %gometa %global common_description %{expand: Colorable writer for windows. For example, most of logger packages doesn't show colors on windows. This package is possible to handle escape sequence for ansi color on windows.} %global golicenses LICENSE %global godocs _example README.md Name: %{goname} Release: 1%{?dist} Summary: Colorable writer for windows License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mattn/go-isatty) %description %{common_description} %gopkg %prep %goprep %build export GO111MODULE=off for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license %{golicenses} %doc %{godocs} %{_bindir}/* %gopkgfiles %changelog * Sun Apr 21 18:41:41 CEST 2019 Robert-André Mauchin - 0.1.1-1 - Release 0.1.1 * Fri Feb 01 2019 Fedora Release Engineering - 0.0.9-0.2.gitefa5899 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 02 2018 Robert-André Mauchin - 0.0.9-0.1.20181102gitefa5899 - Bump to commit efa589957cd060542a26d2dd7832fd6a6c6c3ade * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.20170816gitad5389d - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.20170816gitad5389d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Sep 22 2017 Matthias Runge - 0.0.5-20170816gitad5389d - add requirement to golang-github-mattn-go-isatty (rhbz#1494218) * Thu Sep 21 2017 Matthias Runge - 0-0.4.20170816gitad5389d - fix import path (rhbz#1493760) * Mon Sep 18 2017 Matthias Runge - 0-0.3.20170816gitad5389d - update to latest commit - own /usr/share/gocode/src/gopkg.in/mattn/go-colorable.v1/cmd/ - feedback from initial review (rhbz#1376412) * Thu Apr 7 2016 Matthias Runge - 0.1git-9cbef7c - initial package