## 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.1 %bcond_without check %global debug_package %{nil} # https://github.com/kjk/lzmadec %global goipath github.com/kjk/lzmadec %global commit 19ac3ee91a71d6a1d7d56f8f72423385d76eb5af %gometa -f %global common_description %{expand: Decompress .7z files in Go using 7z executable.} %global golicenses LICENSE %global godocs readme.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Decompress .7z files in Go using 7z executable License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %install %gopkginstall %if %{with check} %check %gocheck %endif %files %license LICENSE %doc readme.md %gopkgfiles %changelog * Sat Dec 10 2022 Fabio Alessandro Locati 0-0.1 - Initial import (rhbz#2151514)