# Generated by go2rpm %bcond_without check # https://github.com/tonistiigi/units %global goipath github.com/tonistiigi/units %global commit 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2 %gometa %global common_description %{expand: This package implements types that can be used in stdlib formatting functions like fmt.Printf to control the output of the expected printed string. Floating point flags %f and %g print the value in using the correct unit suffix. Decimal units are default, # switches to binary units. If a value is best represented as full bytes, integer bytes are printed instead.} %global golicenses LICENSE %global godocs readme.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Simple byte size formatting 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 * Mon May 06 00:49:31 CEST 2019 Robert-André Mauchin - 0-0.1.20190506git6950e57 - Initial package