## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 %global debug_package %{nil} # https://github.com/r3labs/diff %global goipath github.com/r3labs/diff/v3 Version: 3.0.1 %gometa %global common_description %{expand: A library for diffing golang structures.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: A library for diffing golang structures License: MPL-2.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/vmihailenco/msgpack/v5) BuildRequires: golang(github.com/stretchr/testify) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check # TestDiff/mixed-slice-map failed on fedora-38-ppc64le and fedora-38-aarch64 %gocheck -d TestDiff/mixed-slice-map %endif %gopkgfiles %changelog * Sun May 21 2023 John Doe - 3.0.1-1 - Uncommitted changes