# Generated by go2rpm 1 %bcond_without check # https://github.com/krishicks/yaml-patch %global goipath github.com/krishicks/yaml-patch Version: 0.0.10 %global commit 05b317776495082a4efae44ea92f06cd6e3b875f %gometa %global common_description %{expand: Yaml-patch is a version of Evan Phoenix's json-patch, which is an implementation of JavaScript Object Notation (JSON) Patch, directly transposed to YAML.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 10%{?dist} Summary: Library to apply YAML versions of RFC6902 patches # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/jessevdk/go-flags) BuildRequires: golang(gopkg.in/yaml.v2) BuildRequires: golang(github.com/onsi/ginkgo) BuildRequires: golang(github.com/onsi/gomega) %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.0.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.0.10-9 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.0.10-8 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Tue Apr 12 2022 Maxwell G - 0.0.10-7 - Add missing BR to fix FTBFS (rhbz#2045530). * Thu Jan 20 2022 Fedora Release Engineering - 0.0.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.0.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.0.10-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Mar 07 21:49:52 CET 2020 Robert-André Mauchin - 0.0.10-1.20200307git05b3177 - Initial package