Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 761843b19ca1336f55836af843be9ff3 > files > 1

golang-sigs-k8s-yaml-1.2.0-3.mga9.src.rpm

# Generated by go2rpm
# https://github.com/kubernetes-sigs/yaml/issues/23
# https://github.com/kubernetes-sigs/yaml/issues/34
%ifarch x86_64
%bcond_without check
%endif

# https://github.com/kubernetes-sigs/yaml
%global goipath         sigs.k8s.io/yaml
%global forgeurl        https://github.com/kubernetes-sigs/yaml
Version:                1.2.0

%gometa

%global common_description %{expand:
A wrapper around go-yaml designed to enable a better way of handling YAML when
marshaling to and from structs.

In short, this library first converts YAML to JSON using go-yaml and then uses
json.Marshal and json.Unmarshal to convert to or from the struct. This means
that it effectively reuses the JSON struct tags as well as the custom JSON
methods MarshalJSON and UnmarshalJSON unlike go-yaml.}

%global golicenses      LICENSE
%global godocs          CONTRIBUTING.md README.md RELEASE.md code-of-\\\
                        conduct.md

Name:           %{goname}
Release:        %mkrel 3
Summary:        Marshal and unmarshal YAML in Go
Group:          Development/Other
BuildArch:      noarch

License:        MIT and BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(gopkg.in/yaml.v2)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/davecgh/go-spew/spew)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles



%changelog
* Wed Mar 23 2022 umeabot <umeabot> 1.2.0-3.mga9
+ Revision: 1820815
- Mageia 9 Mass Rebuild

* Tue Nov 09 2021 guillomovitch <guillomovitch> 1.2.0-2.mga9
+ Revision: 1755376
- rebuild for mageia 9

* Wed Dec 30 2020 pterjan <pterjan> 1.2.0-1.mga8
+ Revision: 1666153
- Mageiaize
- imported package golang-sigs-k8s-yaml


* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Sun Jun 14 17:40:51 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-1
- Update to 1.2.0

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri May 10 14:28:47 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.1.0-1
- Initial package