Blob Blame History Raw
%global goipath github.com/benbjohnson/clock
%global commit  7dc76406b6d3c05b5f71a86293cbcf3c4ea03b19
Version:        0

%gometa

Name:           %{goname}
Release:        0.1%{?dist}
Summary:        Go library for mocking time
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

%description
%{summary}.


%package devel
Summary:       %{summary}
BuildArch:     noarch

%description devel
%{summary}.

This package contains library source intended for building other packages which
use import path with %{goipath} prefix.


%prep
%forgeautosetup -p1


%install
%goinstall


%check
%gochecks


%files devel -f devel.file-list
%doc README.md
%license LICENSE


%changelog
* Mon Mar 25 2019 Nathan Scott <nathans@redhat.com> - 0-0.1.20190325git7dc7640
- First package for Fedora