# Generated by go2rpm %bcond_without check # https://github.com/knz/strtime %global goipath github.com/knz/strtime %global commit af2256ee352c7e3efc0cdeb388c71e302c1946c8 %gometa %global common_description %{expand: Strftime and strptime are functions found in nearly all C library implementations but with slightly different behaviors on each platform. To provide identical behavior on all platforms where Go is supported, this strtime package provides two functions Strftime and Strptime which can be used in lieu of the platform's native C implementation.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Stable strptime / strftime for Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/pkg/errors) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 15 22:49:49 CEST 2019 Robert-André Mauchin - 0-0.1.20190515gitaf2256e - Initial package