# Generated by go2rpm 1.3 %bcond_without check # https://github.com/sophaskins/efs2tar %global goipath github.com/sophaskins/efs2tar %global commit 4db1b0fddc0353a041f48301fd12e4d058a3a240 %gometa %global common_description %{expand: efs2tar is a tool that converts SGI EFS-formatted filesystem images (ie, the result of dd-ing a whole device in to a file) in to tarballs. It was based entirely on NetBSD's sys/fs/efs.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.7%{?dist} Summary: A tool to convert SGI efs filesystems to tarballs # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/davecgh/go-spew/spew) %description %{common_description} %package -n efs2tar Summary: %{summary} %description -n efs2tar %{common_description} %gopkg %prep %goprep %build # These are one-off debugging utilities that aren't useful to the end user # for cmd in cmd/* ; do # %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd # done %gobuild -o %{gobuilddir}/bin/efs2tar %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n efs2tar %license LICENSE %doc README.md %{_bindir}/efs2tar %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0-0.5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jul 09 2022 Maxwell G - 0-0.4 - Rebuild for CVE-2022-{24675,28327,29526 in golang} * Thu Jan 20 2022 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Mar 14 2021 Davide Cavalca - 0-0.1.20210314git4db1b0f - Initial package