## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 22; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/a8m/tree %global goipath github.com/a8m/tree %global commit ce3525c5c2ef08dc68534c35c6897323a70c3c08 %gometa %global common_description %{expand: An implementation of the Unix tree command written in Go, that can be used programmatically.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Implementation of the Unix tree command written in Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/gotree %{goipath}/cmd/tree %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 * Wed Jan 24 2024 Fedora Release Engineering - 0-0.22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0-0.21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0-0.20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0-0.19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0-0.18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0-0.17 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0-0.16 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Jun 17 2022 Robert-André Mauchin - 0-0.15 - 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-0.14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jul 25 2021 Robert-André Mauchin - 0-0.13 - Bump to commit ce3525c5c2ef08dc68534c35c6897323a70c3c08 * Thu Jul 22 2021 Fedora Release Engineering - 0-0.11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 8 21:06:03 CET 2021 Robert-André Mauchin - 0-0.9.20210108gitfce18 - Bump to commit fce18e2a750ea4e7f53ee706b1c3d9cbb22de79c * Mon Jul 27 2020 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 02 20:01:01 CEST 2019 Robert-André Mauchin - 0-0.5.20190225git6a0b801 - Update to new macros * Mon Feb 25 2019 Robert-André Mauchin - 0-0.4.20190225git6a0b801 - Bump to commit 6a0b80129de45f91880d18428b95fab29df91d7e * Thu Jan 31 2019 Fedora Release Engineering - 0-0.3.git3cf936c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.2.git3cf936c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 20 2018 Robert-André Mauchin - 0-0.1.20180422gitcf42b1e - First package for Fedora