## 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.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/projectdiscovery/utils %global goipath github.com/projectdiscovery/utils Version: 0.0.14 %gometa -f %global common_description %{expand: Helper Libraries.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Release: %autorelease Summary: Helper Libraries License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Mon Mar 06 2023 Mikel Olasagasti Uranga 0.0.14-1 - Update to 0.0.14 - Closes rhbz#2175514 * Tue Feb 28 2023 Mikel Olasagasti Uranga 0.0.13-1 - Update to 0.0.13 - Closes rhbz#2173407 * Sun Feb 26 2023 Mikel Olasagasti Uranga 0.0.11-1 - Update to 0.0.11 - Closes rhbz#2173270 * Tue Feb 21 2023 Mikel Olasagasti Uranga 0.0.10-1 - Update to 0.0.10 - Closes rhbz#2171302 * Wed Feb 15 2023 Mikel Olasagasti Uranga 0.0.9-1 - Update to 0.0.9 - Closes rhbz#2165002 * Sun Jan 22 2023 Mikel Olasagasti Uranga 0.0.5-1 - Update to 0.0.5 - Closes rhbz#2162989 * Fri Jan 20 2023 Mikel Olasagasti Uranga 0.0.4-1 - Update to 0.0.4 - Closes rhbz#2162692 * Thu Jan 19 2023 Fedora Release Engineering 0.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 20 2022 Mikel Olasagasti Uranga 0.0.3-1 - Initial package - Closes rhbz#2144440