## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; 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/projectdiscovery/hmap %global goipath github.com/projectdiscovery/hmap Version: 0.0.1 %gometa %global common_description %{expand: Hybrid memory/disk map.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Hybrid memory/disk map License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/syndtr/goleveldb/leveldb) BuildRequires: golang(github.com/syndtr/goleveldb/leveldb/iterator) BuildRequires: golang(github.com/syndtr/goleveldb/leveldb/util) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 0.0.1-2 - Uncommitted changes * Sat Sep 18 2021 Robert-André Mauchin 0.0.1-1 - Initial release