# Generated by go2rpm
# Needs network
%bcond_with check
# https://github.com/beevik/ntp
%global goipath github.com/beevik/ntp
Version: 0.3.0
%gometa
%global common_description %{expand:
The Ntp package is an implementation of a Simple NTP (SNTP) client based on
RFC5905. It allows you to connect to a remote NTP server and request information
about the current time.}
%global golicenses LICENSE
%global godocs CONTRIBUTORS RELEASE_NOTES.md README.md
Name: %{goname}
Release: 1%{?dist}
Summary: Simple ntp client written in Go
# Upstream license specification: BSD-2-Clause
License: BSD
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(golang.org/x/net/ipv4)
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/assert)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Thu Jul 23 23:50:25 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
- Update to 0.3.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 16:29:36 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.0-6
- Update to new macros
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 12 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.0-4
- SPEC refresh
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0.2.0-3
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Apr 23 2018 Paul Gier <pgier@redhat.com> - 0.2.0-1
- First package for Fedora