## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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://gitlab.com/cznic/tcl %global goipath modernc.org/tcl %global forgeurl https://gitlab.com/cznic/tcl Version: 1.15.3 %global tag v%{version} %gometa -f %global common_description %{expand: Tcl (Tool Command Language) for Go without cgo.} %global golicenses LICENSE license.terms assets/license.terms %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: Tcl (Tool Command Language) for Go without cgo.} License: TCL AND BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/tcl %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check # .: test fails on Rawhide. # lib: ./tcl_linux_amd64.go:272125:6: redundant or: *(*int32)(unsafe.Pointer(bp)) == EAGAIN || *(*int32)(unsafe.Pointer(bp)) == EAGAIN %gocheck -d . -d lib %endif %files %license LICENSE license.terms assets/license.terms %doc AUTHORS CONTRIBUTORS README.md %{_bindir}/tcl %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 1.15.3-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.15.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.15.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 20 2023 W. Michael Petullo - 1.15.3-1 - Initial import (fedora#2231933) ## END: Generated by rpmautospec