Blob Blame Raw
# Generated by go2rpm
%bcond_without check

%global goipath
%global commit          7dc76406b6d3c05b5f71a86293cbcf3c4ea03b19


%global common_description %{expand:
Clock is a small library for mocking time in Go. It provides an interface around
the standard library's time package so that the application can use the realtime
clock while tests can use the mock clock.}

%global golicenses      LICENSE
%global godocs

Name:           %{goname}
Version:        0
Release:        0.3%{?dist}
Summary:        Small library for mocking time in Go

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}
# Tests are patched to fix a number of problems ranging from compile
# failures with current go, to raciness observed on s390x.
# Patch is not sent upstream because the github project is archived.
Patch0:         clock_test.patch



%patch0 -p1


%if %{with check}


* Thu Jul 25 2019 Fedora Release Engineering <> - 0-0.3
- Rebuilt for

* Sun Jun 02 15:10:32 CEST 2019 Robert-André Mauchin <> - 0-0.2.20190325git7dc7640
- Update to new macros

* Mon Mar 25 2019 Nathan Scott <> - 0-0.1.20190325git7dc7640
- First package for Fedora