## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 15; 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 %if 0%{?__isa_bits} != 32 %bcond_without check %else %bcond_with check %endif %global debug_package %{nil} # https://github.com/go-yaml/yaml %global goipath gopkg.in/yaml.v2 %global forgeurl https://github.com/go-yaml/yaml Version: 2.4.0 %gometa %global goaltipaths gopkg.in/v2/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 NOTICE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Yaml support for the Go language License: Apache-2.0 and MIT URL: %{gourl} Source0: %{gosource} %if %{with check} BuildRequires: golang(gopkg.in/check.v1) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Fri Jul 12 2024 Mikel Olasagasti Uranga - 2.4.0-15 - Fix FTBFS * Mon Jun 17 2024 Robert-André Mauchin - 2.4.0-14 - Fix FTBFS * Wed Jan 24 2024 Fedora Release Engineering - 2.4.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 2.4.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.4.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2.4.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 31 2022 Maxwell G - 2.4.0-9 - Disable tests on 32-bit due to int overflows * Wed Aug 31 2022 Maxwell G - 2.4.0-8 - Fix FTBFS by adding missing dependency (rhbz#2113401) * Wed Aug 31 2022 Maxwell G - 2.4.0-7 - Adopt new licensing guidelines * Thu Jul 21 2022 Fedora Release Engineering - 2.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 09:56:27 CET 2020 Robert-André Mauchin - 2.4.0-1 - Update to 2.4.0 - Close: rhbz#1901683 * Wed Aug 05 22:32:27 CEST 2020 Robert-André Mauchin - 2.3.0-1 - Update to 2.3.0 * Mon Jul 27 2020 Fedora Release Engineering - 2.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Feb 16 2020 Elliott Sales de Andrade - 2.2.8-1 - Update to latest version * Wed Jan 29 2020 Fedora Release Engineering - 2.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 02 2020 Elliott Sales de Andrade - 2.2.7-1 - Update to latest version * Thu Jul 25 2019 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 2.2.2-2 - Add Obsoletes for old name * Sun Apr 21 07:37:09 CEST 2019 Robert-André Mauchin - 2.2.2-1 - Initial package ## END: Generated by rpmautospec