# Generated by go2rpm %bcond_without check # https://github.com/BurntSushi/toml-test %global goipath github.com/BurntSushi/toml-test Version: 0.2.0 %global commit f910e151d1b14d94b1e8a4264db0814fb03520d9 %gometa %global common_description %{expand: Toml-test is a higher-order program that tests other TOML decoders or encoders. The goal is to make it comprehensive. Tests are divided into two groups: invalid TOML data and valid TOML data. Decoders that reject invalid TOML data pass invalid TOML tests. Decoders that accept valid TOML data and output precisely what is expected pass valid tests. The output format is JSON, described below. Both decoders and encoders share valid tests, except an encoder accepts JSON and outputs TOML. The TOML representations are read with a blessed decoder and compared. Note though that encoders have their own set of invalid tests in the invalid-encoder directory. The JSON given to a TOML encoder is in the same format as the JSON that a TOML decoder should output.} %global golicenses COPYING %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Language agnostic test suite for TOML parsers License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/BurntSushi/toml) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/toml-test %{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 COPYING %doc README.md %{_bindir}/* %gopkgfiles %changelog * Mon Jun 03 18:00:42 CEST 2019 Robert-André Mauchin - 0.2.0-1.20190603gitf910e15 - Bump to commit f910e151d1b14d94b1e8a4264db0814fb03520d9 * Thu Jan 31 2019 Fedora Release Engineering - 0.2.0-0.15.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.2.0-0.14.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.2.0-0.13.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.2.0-0.12.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.0-0.11.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.0-0.10.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0.2.0-0.9.git85f50d0 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0.2.0-0.8.git85f50d0 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0.2.0-0.7.git85f50d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jul 24 2015 Julien Enselme - 0.2.0-0.6.git85f50d0 - %%files in main subpackage if-else license - Correct %%files if devel package - Remove duplicated BR in devel package * Wed Jul 15 2015 Julien Enselme - 0.2.0-0.5.git85f50d0 - Disable devel package - Specify minimal version needed for golang * Sun Jul 12 2015 Julien Enselme - 0.2.0-0.4.git85f50d0 - Remove unecessary Requires to golang * Sun Jul 12 2015 Julien Enselme - 0.2.0-0.3.git85f50d0 - Update SPEC to take into account flags from SPEC generated with gofed * Sun Jul 12 2015 Julien Enselme - 0.2.0-0.2.git85f50d0 - Only add sources once in %%files in devel package - Correct dist tag - devel package requires standard package - Use %%{go_arches} for ExclusiveArch * Fri Jul 3 2015 Julien Enselme - 0.2.0-0.1.git85f50d0 - Initial packaging