## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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: %autorelease 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 Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> 0.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin <zebob.m@gmail.com> 0.3.0-8 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * 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