## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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.8.2 %bcond_without check # https://github.com/pelletier/go-toml %global goipath github.com/pelletier/go-toml/v2 Version: 2.1.1 %gometa %global common_description %{expand: Go library for the TOML file format.} %global golicenses LICENSE %global godocs SECURITY.md CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go library for the TOML file format License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/{jsontoml,tomljson,tomll} ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %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 SECURITY.md CONTRIBUTING.md README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 2.1.1-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 03 2024 W. Michael Petullo - 2.1.1-1 - Update to 2.1.1 * Thu Jul 20 2023 Fedora Release Engineering - 2.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Nov 20 2022 Mikel Olasagasti Uranga - 2.0.6-1 - Update to 2.0.6 * Thu Jul 21 2022 Fedora Release Engineering - 2.0.0~beta.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 2.0.0~beta.8-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 2.0.0~beta.8-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Sun Apr 24 2022 W. Michael Petullo - 2.0.0~beta.8-3 - Backport patch that fixes test on i686 * Sun Apr 24 2022 W. Michael Petullo - 2.0.0~beta.8-2 - Deactivate a test that fail on i686 (see https://github.com/pelletier/go- toml/issues/760) * Tue Apr 19 2022 W. Michael Petullo - 2.0.0~beta.8-1 - Initial import (fedora#2031226) ## END: Generated by rpmautospec