## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.12.0 %bcond_without check # https://github.com/BurntSushi/toml %global goipath github.com/BurntSushi/toml Version: 1.4.0 %gometa -L -f %global common_description %{expand: TOML stands for Tom's Obvious, Minimal Language. This Go package provides a reflection interface similar to Go's standard library json and xml packages. This package also supports the encoding.TextUnmarshaler and encoding.TextMarshaler interfaces so that you can define custom data representations.} %global golicenses COPYING %global godocs README.md Name: golang-github-burntsushi-toml Release: %autorelease Summary: TOML parser for Golang with reflection License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; 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 COPYING %doc _example README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun May 26 2024 Mikel Olasagasti Uranga - 1.4.0-1 - Update to 1.4.0 - Closes rhbz#2283185 * Sun Feb 11 2024 Maxwell G - 1.2.0-6 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Sep 24 2022 Robert-André Mauchin - 1.2.0-1 - Update to 1.2.0 * Thu Jul 21 2022 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.0.0-6 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 1.0.0-5 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Jun 17 2022 Robert-André Mauchin - 1.0.0-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Mar 04 2022 Robert-André Mauchin - 1.0.0-3 - Fix condition * Fri Mar 04 2022 Robert-André Mauchin - 1.0.0-2 - Disable tests which overflows on 32 bits arch * Fri Mar 04 2022 Robert-André Mauchin - 1.0.0-1 - Update to 1.0.0 Close: rhbz#1989206 * Thu Jan 20 2022 Fedora Release Engineering - 0.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.3.1-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 0.3.1-4 - Add Obsoletes for old name * Wed Apr 24 21:30:18 CEST 2019 Robert-André Mauchin - 0.3.1-3 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 31 2018 Robert-André Mauchin - 0.3.1-1 - Release 0.3.1 * Tue Oct 23 2018 Nicolas Mailhot - 0.3.0-4 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - Forge-specific packaging variables - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 08 2018 Jan Chaloupka - 0.3.0-2 - Upload glide.lock and glide.yaml * Sun Mar 18 2018 Jan Chaloupka - 0.3.0-1 - Update to 0.3.0 resolves: #1423641 * Wed Feb 28 2018 Jan Chaloupka - 0-0.15.20140718git2ceedfe - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.14.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.13.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.12.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.11.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 17 2017 Jan Chaloupka - 0-0.10.git2ceedfe - Polish the spec file related: #1247656 * Tue Aug 09 2016 jchaloup - 0-0.9.git2ceedfe - Enable devel and unit-test for epel7 related: #1247656 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.8.git2ceedfe - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.7.git2ceedfe - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.6.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 jchaloup - 0-0.5.git2ceedfe - Update to spec-2.1 related: #1247656 * Tue Jul 28 2015 Fridolin Pokorny - 0-0.4.git2ceedfe - Update of spec file to spec-2.0 resolves: #1247656 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.4.git2ceedfe - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Oct 23 2014 jchaloup - 0-0.3.git2ceedfe - Bump to upstream 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2 - spec file polishing to follow go draft related: #1120865 * Mon Sep 22 2014 jchaloup - 0-0.2.gitbd2bdf7 - do not own golang directories - defattr and attr not needed * Mon Sep 22 2014 jchaloup - 0-0.1.gitbd2bdf7 - accomodated changes from Vincent Batts - gopath is in the rpm macros, and set exclusive arch too, to prevent s390 builds - move the buildarch noarch to the devel, since it is source only - preserve timestamps of source copied and as an added perk - the tomlv command provided in this project is useful for validating *.toml files - go test * Thu Jul 17 2014 Colin Walters - Initial package ## END: Generated by rpmautospec