# Generated by go2rpm 1.8.0 %bcond_without check %global debug_package %{nil} # https://github.com/go-yaml/yaml %global goipath gopkg.in/yaml.v1 %global forgeurl https://github.com/go-yaml/yaml %global commit 9f9df34309c04878acc86042b16630b0f696e1de %gometa %global goaltipaths gopkg.in/v1/yaml %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.1 and 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 LICENSE.libyaml %global godocs README.md Name: %{goname} Version: 0 Release: 0.11%{?dist} Summary: YAML support for the Go language License: MIT and LGPL-3.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(gopkg.in/check.v1) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check for test in "TestMarshal" "TestMarshalErrors" "TestUnmarshal"\ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tc.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0-0.11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 11 2022 Mikel Olasagasti Uranga - 0-0.10 - Skip failing tests - Minor spec changes * Thu Jul 21 2022 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 0-0.2.20190622git9f9df34 - Add Obsoletes for old name * Sun Apr 21 07:41:21 CEST 2019 Robert-André Mauchin - 0-0.1.20190622git9f9df34 - Initial package