# Generated by go2rpm # Needs network %bcond_with check # https://github.com/beevik/ntp %global goipath github.com/beevik/ntp Version: 0.2.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: 6%{?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 May 30 16:29:36 CEST 2019 Robert-André Mauchin - 0.2.0-6 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 12 2018 Robert-André Mauchin - 0.2.0-4 - SPEC refresh * Tue Oct 23 2018 Nicolas Mailhot - 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 - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Apr 23 2018 Paul Gier - 0.2.0-1 - First package for Fedora