## 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.8.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/tcl %global goipath modernc.org/tcl %global forgeurl https://gitlab.com/cznic/tcl Version: 1.13.1 %global tag v1.13.1 %gometa -f %global common_description %{expand: Tcl (Tool Command Language) is a very powerful but easy to learn dynamic programming language, suitable for a very wide range of uses, including web and desktop applications, networking, administration, testing and many more.} %global golicenses LICENSE license.terms assets/license.terms %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: Tcl (Tool Command Language) dynamic programming language License: TCL and BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestTclTest" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck -d lib %endif %gopkgfiles %changelog * Sat Aug 20 2022 Robert-André Mauchin 1.13.1-1 - Uncommitted changes