From d12714108846f376652eb92cc37368981641cdb4 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Fri, 19 Apr 2024 12:27:26 +0300 Subject: [PATCH] import golang-gopkg-yaml-3-3.0.1-7.el9 --- .gitignore | 1 + .golang-gopkg-yaml-3.metadata | 1 + SOURCES/README.md | 3 + SOURCES/changelog | 26 +++++++ SPECS/golang-gopkg-yaml-3.spec | 136 +++++++++++++++++++++++++++++++++ 5 files changed, 167 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-gopkg-yaml-3.metadata create mode 100644 SOURCES/README.md create mode 100644 SOURCES/changelog create mode 100644 SPECS/golang-gopkg-yaml-3.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..70baeec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/yaml-3.0.1.tar.gz diff --git a/.golang-gopkg-yaml-3.metadata b/.golang-gopkg-yaml-3.metadata new file mode 100644 index 0000000..25a5bb6 --- /dev/null +++ b/.golang-gopkg-yaml-3.metadata @@ -0,0 +1 @@ +cc7bb69c6a34bf61440d47ac00108f51cffea65f SOURCES/yaml-3.0.1.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..9b12cf2 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-gopkg-yaml-3 + +The golang-gopkg-yaml-3 package \ No newline at end of file diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..56e6e9b --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,26 @@ +* 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 diff --git a/SPECS/golang-gopkg-yaml-3.spec b/SPECS/golang-gopkg-yaml-3.spec new file mode 100644 index 0000000..8b912ba --- /dev/null +++ b/SPECS/golang-gopkg-yaml-3.spec @@ -0,0 +1,136 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 7; + 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 +* Fri Apr 19 2024 Sergey Cherevko - 3.0.1-7 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 3.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* 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 +