Blob Blame History Raw
# Generated by go2rpm 1.2
# There is a failure during the checks
%bcond_with check

# https://github.com/gookit/color
%global goipath         github.com/gookit/color
Version:                1.4.2

%gometa

%global common_description %{expand:
A Terminal color rendering tool library, support 8/16 colors, 256 colors 
and RGB color rendering output.}

%global golicenses      LICENSE
%global godocs          _examples README.zh-CN.md README.md

Name:           %{goname}
Release:        2%{?dist}
Summary:        Terminal color rendering tool library

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.2-1
- Update to latest upstream release 1.4.2 (rhbz#1963608)

* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Sun Jan 17 15:52:32 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.6-1
- Update to 1.3.6

* Wed Oct 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.1-1
- Initial package for Fedora