# Generated by go2rpm 1.3 %bcond_without check # https://github.com/araddon/dateparse %global goipath github.com/araddon/dateparse %global commit 6b43995a97dee4b2c7fc0bdff8e124da9f31a57e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20210429 %global distprefix %{nil} %gometa %global common_description %{expand: Parse many date strings without knowing format in advance. Uses a scanner to read bytes and use a state machine to find format. Much faster than shotgun based parse methods.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0~%{scm}.%{date}.%{shortcommit} Release: 1%{?dist} Summary: Go library for parsing date strings License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/scylladb/termtables) %if %{with check} BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 14 2021 Carl George - 0~git.20210429.6b43995-1 - Initial package