## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 18; 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 1.9.0 %bcond_without check # https://github.com/kr/text %global goipath github.com/kr/text Version: 0.2.0 %gometa %global common_description %{expand: Miscellaneous functions for formatting text.} %global godocs Readme Readme-colwriter Readme-mc Name: %{goname} Release: %autorelease Summary: Miscellaneous functions for formatting text License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 mv colwriter/Readme Readme-colwriter mv mc/Readme Readme-mc %generate_buildrequires %go_generate_buildrequires %build %if 0%{?el9} export GOPATH="%{gobuilddir}:%{gopath}" export GO111MODULE=off %endif for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %gobuild -o %{gobuilddir}/bin/go-mc %{goipath}/mc %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %doc Readme Readme-colwriter Readme-mc %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.2.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Feb 11 2024 Maxwell G - 0.2.0-17 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Sep 08 2023 Davide Cavalca - 0.2.0-14 - fixup: fixup: Make it build on epel9 * Fri Sep 08 2023 Davide Cavalca - 0.2.0-13 - fixup: Make it build on epel9 * Fri Sep 08 2023 Davide Cavalca - 0.2.0-12 - Make it build on epel9 * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Mikel Olasagasti Uranga - 0.2.0-10 - Update spec and remove forced dep on kr/pty * Thu Jan 19 2023 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.2.0-6 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.2.0-5 - 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.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 21:05:15 CEST 2020 Robert-André Mauchin - 0.2.0-1 - Update to 0.2.0 * Mon Jul 27 2020 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 16 23:34:55 CEST 2019 Robert-André Mauchin - 0.1.0-1 - Release 0.1.0 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.19.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.18.git6807e77 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.17.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Jan Chaloupka - 0-0.16.git6807e77 - Upload glide files * Thu Mar 01 2018 Jan Chaloupka - 0-0.15.20131111git6807e77 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.14.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.13.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.12.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.11.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 18 2017 Jan Chaloupka - 0-0.10.git6807e77 - Polish the spec file related: #1248175 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.9.git6807e77 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.8.git6807e77 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.7.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 jchaloup - 0-0.6.git6807e77 - Update to spec-2.1 related: #1248175 * Wed Jul 29 2015 jchaloup - 0-0.5.git6807e77 - Update of spec file to spec-2.0 resolves: #1248175 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.4.git6807e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Sep 19 2014 Jan Chaloupka - 0-0.3.git6807e77 - add golang version with necessary golang macros - quiet setup * Thu Sep 11 2014 Lokesh Mandvekar - 0-0.2.git6807e77 - gopath defined in golang package - preserve timestamps while copying source files - attrs not needed - devel description update - include check section - get rid of files listed twice warning for doc files - noarch - needs kr/pty as BR - chmod wrap.go to 644 (needs to be upstreamed) * Wed Aug 06 2014 Adam Miller - 0.1.git6807e77 - First package for Fedora. ## END: Generated by rpmautospec