# Generated by go2rpm 1 %bcond_without check # https://github.com/labstack/gommon %global goipath github.com/labstack/gommon Version: 0.3.0 %gometa %global common_description %{expand: Common packages for Go.} %global golicenses LICENSE %global godocs README.md README-log.md README-color.md\\\ README-bytes.md Name: %{goname} Release: 6%{?dist} Summary: Common packages for Go License: MIT URL: %{gourl} Source0: %{gosource} # Fix for tests on s390x, ppc64le and aarch64 # See https://github.com/labstack/gommon/pull/38 Patch0: test-fix.patch BuildRequires: golang(github.com/mattn/go-colorable) BuildRequires: golang(github.com/mattn/go-isatty) BuildRequires: golang(github.com/valyala/fasttemplate) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 # rename READMEs so they are not in conflict when using the godocs macro mv log/README.md README-log.md mv color/README.md README-color.md mv bytes/README.md README-bytes.md %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Aug 26 2020 Ondřej Budai - 0.3.0-1 - Initial package