## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## 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://github.com/dennwc/ioctl %global goipath github.com/dennwc/ioctl Version: 1.0.0 %gometa -f %global common_description %{expand: Ioctl for Go.} Name: %{goname} Release: %autorelease Summary: Ioctl for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed May 17 2023 Mark E. Fuller - 1.0.0-1 - initial commit, closes rhbz#2198971 ## END: Generated by rpmautospec