# Generated by go2rpm 1 %bcond_without check # https://github.com/elves/elvish %global goipath github.com/elves/elvish Version: 0.15.0 %gometa %global common_description %{expand: Friendly Interactive Shell and Expressive Programming Language.} %global golicenses LICENSE %global godocs README.md CONTRIBUTING.md examples Name: %{goname} Release: 7%{?dist} Summary: Friendly Interactive Shell and Expressive Programming Language # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/BurntSushi/toml) BuildRequires: golang(github.com/xiaq/persistent/hash) BuildRequires: golang(github.com/xiaq/persistent/hashmap) BuildRequires: golang(github.com/xiaq/persistent/vector) BuildRequires: golang(go.etcd.io/bbolt) BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/kr/pty) %endif %description %{common_description} %gopkg %prep %goprep # gopkginstall wants to install some examples to docs # and seems to expect them at repo_root/examples mv cmd/examples examples # These actually aren't commands for end users; and # confuse gopkginstall here. rm -rf cmd %build %gobuild -o %{gobuilddir}/bin/elvish %{goipath} %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 CONTRIBUTING.md website/README.md examples %{_bindir}/* %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.15.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.15.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.15.0-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.15.0-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jan 30 12:04:00 EDT 2021 Jan Blackquill - 0.15.0-1 - Initial package * Tue Jan 26 2021 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 15 19:37:01 CET 2021 Robert-André Mauchin - 0.14.1-1 - Update to 0.14.1 * Mon Jul 27 2020 Fedora Release Engineering - 0.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 26 16:11:15 CEST 2020 Robert-André Mauchin - 0.14.0-1 - Update to 0.14.0 * Tue May 19 21:36:38 EDT 2020 Carson Black - 0.13.1-1 - Initial package