## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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.1 %if 0%{?__isa_bits} != 32 %bcond_without check %endif %global debug_package %{nil} # https://github.com/go-yaml/yaml %global goipath gopkg.in/yaml.v3 %global forgeurl https://github.com/go-yaml/yaml Version: 3.0.1 %gometa %global common_description %{expand: The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical as part of the juju project, and is based on a pure Go port of the well-known libyaml C library to parse and generate YAML data quickly and reliably. The yaml package supports most of YAML 1.2, but preserves some behavior from 1.1 for backwards compatibility. Specifically, as of v3 of the yaml package: - YAML 1.1 bools (yes/no, on/off) are supported as long as they are being decoded into a typed bool value. Otherwise they behave as a string. Booleans in YAML 1.2 are true/false only. - Octals encode and decode as 0777 per YAML 1.1, rather than 0o777 as specified in YAML 1.2, because most parsers still use the old format. Octals in the 0o777 format are supported though, so new files work. - Does not support base-60 floats. These are gone from YAML 1.2, and were actually never supported by this package as it's clearly a poor choice. and offers backwards compatibility with YAML 1.1 in some cases. 1.2, including support for anchors, tags, map merging, etc. Multi-document unmarshalling is not yet implemented, and base-60 floats from YAML 1.1 are purposefully not supported since they're a poor design and are gone in YAML 1.2.} %global golicenses LICENSE NOTICE %global godocs README.md Name: %{goname} Release: %autorelease Summary: YAML support for the Go language License: Apache-2.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(gopkg.in/check.v1) %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 3.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 18 2022 Robert-André Mauchin 3.0.1-5 - SPEC cleanup * Sun Sep 18 2022 Robert-André Mauchin 3.0.1-4 - SPEC cleanup * Thu Jul 21 2022 Fedora Release Engineering 3.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 29 2022 Robert-André Mauchin 3.0.1-2 - Don't test on 32 bits platforms * Wed Jun 29 2022 Mikel Olasagasti Uranga 3.0.1-1 - Update to 3.0.1 - Closes rhbz#2088934 * Wed May 11 2022 Maxwell G 0-11 - Fix FTBFS. * Thu Jan 20 2022 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 20:30:00 CET 2021 Robert-André Mauchin - 0-0.6.20210113git496545a - Bump to commit 496545a6307b2a7d7a710fd516e5e16e8ab62dbc * Wed Aug 05 22:35:54 CEST 2020 Robert-André Mauchin - 0-0.5.20200805giteeeca48 - Bump to commit eeeca48fe7764f320e4870d231902bf9c1be2c08 * Mon Jul 27 2020 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 21 07:44:40 CEST 2019 Robert-André Mauchin - 0-0.1.20190622gitcdc409d - Initial package