# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/a8m/envsubst %global goipath github.com/a8m/envsubst Version: 1.3.0 %gometa %global common_description %{expand: Go package for substituting environment variables.} %global golicenses LICENSE %global godocs _example README.md Name: %{goname} Release: 5%{?dist} Summary: Environment variables substitution for Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build # Renamed to goenvsubst so this package doesn't conflict with gettext. %gobuild -o %{gobuilddir}/bin/goenvsubst %{goipath}/cmd/envsubst %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 _example README.md %{_bindir}/goenvsubst %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.3.0-3 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jul 09 2022 Maxwell G - 1.3.0-2 - Rebuild for CVE-2022-{24675,28327,29526} in golang * Wed Jun 29 2022 Julien Rische - 1.3.0-1 - Initial package - Resolves: rhbz#2074406