## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## RPMAUTOSPEC: autorelease, autochangelog %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 # https://github.com/1player/host-spawn %global goipath github.com/1player/host-spawn Version: 1.5.1 %global tag v%{version} %gometa -f %global common_description %{expand: Run commands on your host from inside your toolbox or flatpak sandbox.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Run commands on your host from inside your toolbox or flatpak sandbox License: MIT-0 URL: %{gourl} Source: %{gosource} Patch: termios-v1.2.patch %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/host-spawn %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Fri Dec 22 2023 Yaakov Selkowitz - 1.5.1-1 - Uncommitted changes * Fri Dec 22 2023 Yaakov Selkowitz - 1.5.0-1 - 1.5.0 * Sun Aug 13 2023 Yaakov Selkowitz - 1.4.2-1 - Initial import ## END: Generated by rpmautospec