## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.5.0 %bcond_without check # https://github.com/clbanning/mxj %global goipath github.com/clbanning/mxj Version: 2.5.5 %gometa %global common_description %{expand: Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.} %global golicenses LICENSE x2j-wrapper/LICENSE %global godocs examples readme.md x2j-wrapper/README Name: %{goname} Release: %autorelease Summary: Decode / encode XML to/from map[string]interface{} (or JSON) # Upstream license specification: BSD-3-Clause and MIT License: BSD and MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep rm -rf deprecate/ %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Sep 02 2021 Robert-André Mauchin 2.5.5-2 - Uncommitted changes * Thu Sep 02 2021 Robert-André Mauchin 2.5.5-1 - Initial release