## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/projectdiscovery/retryabledns %global goipath github.com/projectdiscovery/retryabledns Version: 1.0.15 %gometa %global common_description %{expand: Retryable DNS client in Go.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Release: %autorelease Summary: Retryable DNS client in Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # test require network for test in "TestConsistentResolve" "TestUDP" "TestTCP" "TestDOH" "TestDOT" "TestQueryMultiple" "TestResolvers" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Fri Aug 19 2022 Fabian Affolter 1.0.15-1 - Update to latest upstream release 1.0.15 (closes rhbz#2111551) * Thu Jul 21 2022 Fedora Release Engineering 1.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 02 2022 Mikel Olasagasti Uranga 1.0.13-1 - Update to 1.0.13 - Closes rhbz#2060623 * Thu Jan 20 2022 Fedora Release Engineering - 1.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 25 2021 Fabian Affolter - 1.0.12-1 - Update to latest upstream release 1.0.12 (rhbz#1963517) * Thu Jul 22 2021 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 27 2020 Fabian Affolter - 1.0.5-1 - Update to latest upstream release 1.0.5 * Mon Jul 27 2020 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Fabian Affolter - 1.0.4-1 - Initial package