## 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/sibprogrammer/xq %global goipath github.com/sibprogrammer/xq Version: 0.0.7 %gometa %global common_description %{expand: Command line XML beautifier and content extractor. Similar to jq.} %global golicenses LICENSE %global godocs README.md Name: xq Release: %autorelease Summary: Command line XML beautifier and content extractor. Similar to jq License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/xq %{goipath}/ %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Sat Jan 22 2022 Fedora Release Engineering 0.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 09 2022 Mikel Olasagasti Uranga 0.0.7-1 - Update to 0.0.7 - Closes rhbz#2038698 * Mon Nov 22 2021 Mikel Olasagasti Uranga 0.0.6-1 - Initial import BZ#2023085