# Generated by go2rpm 1.2 %bcond_without check # https://github.com/araddon/dateparse %global goipath github.com/araddon/dateparse %global commit 6b43995a97dee4b2c7fc0bdff8e124da9f31a57e %gometa %global common_description %{expand: GoLang Parse many date strings without knowing format in advance.} %global golicenses LICENSE %global godocs example README.md dateparse/README.md Name: %{goname} Version: 0 Release: 2%{?dist} Summary: GoLang Parse many date strings without knowing format in advance License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/scylladb/termtables) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %build for cmd in dateparse; 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 LICENSE %doc example README.md dateparse/README.md %{_bindir}/* %gopkgfiles %changelog * Tue Nov 30 2021 Bruno Meneguele - 0.0.0-20210429162001-6b43995a97de-1 - Rebase to upstream release 0.0.0-20210429162001-6b43995a97de * Thu Jan 14 2021 Bruno Meneguele - 0-2.git8aadafe - Rebase to a new commit upstream * Wed Oct 07 18:53:43 CEST 2020 Patrick Talbert - 0-1.gitd820a61 - Initial package