# Generated by go2rpm %bcond_without check # https://github.com/joho/godotenv %global goipath github.com/joho/godotenv Version: 1.5.1 %gometa %global common_description %{expand: A Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file).} %global golicenses LICENCE %global godocs README.md Name: %{goname} Release: 6%{?dist} Summary: Go port of Ruby's dotenv library License: MIT URL: %{gourl} Source0: %{gosource} %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 LICENCE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Sun Feb 11 2024 Maxwell G - 1.5.1-6 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 07 15:20:39 CEST 2019 Robert-André Mauchin - 1.3.0-1 - Initial package