## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/c4milo/unpackit %global goipath github.com/c4milo/unpackit Version: 0.1.0 %gometa %global common_description %{expand: Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/dsnet/compress/bzip2) BuildRequires: golang(github.com/klauspost/pgzip) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/ulikunitz/xz) %if %{with check} # Tests BuildRequires: golang(github.com/bradfitz/iter) BuildRequires: golang(github.com/hooklift/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 0.1.0-1 - Initial release