## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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.8.1 %bcond_without check %bcond_with bootstrap %if %{with bootstrap} %global debug_package %{nil} %endif # https://github.com/golang/text %global goipath golang.org/x/text %global forgeurl https://github.com/golang/text Version: 0.3.7 %global commit b0ca10ff35f1325c7d0ac7830fe3f036bd72d8f9 %gometa %global common_description %{expand: Text is a repository of text-related packages related to internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.} %global golicenses LICENSE PATENTS %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go text processing support License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build %gobuild -o %{gobuilddir}/bin/gotext %{goipath}/cmd/gotext %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/gotext %{buildroot}%{_bindir}/ %endif %if %{with check} %check %gocheck -t cmd %{?with_bootstrap:-t message/pipeline} %endif %if %{without bootstrap} %files %license LICENSE PATENTS %doc CONTRIBUTING.md README.md %{_bindir}/gotext %endif %gopkgfiles %changelog * Sun Sep 18 2022 Robert-André Mauchin 0.3.7-9 - Bump to commit b0ca10ff35f1325c7d0ac7830fe3f036bd72d8f9 * Sun Aug 07 2022 Robert-André Mauchin 0.3.7-8 - SPEC cleanup * Thu Jul 21 2022 Fedora Release Engineering - 0.3.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.3.7-4 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Thu Jun 30 2022 Stephen Smoogen - 0.3.7-3 - Add in a minimal bootstrap mode to try and break golang cycle with x packages * Sat Jun 18 2022 Robert-André Mauchin - 0.3.7-2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Jan 28 2022 Maxwell G - 0.3.7-1 - Update to 0.3.7. Fixes rhbz#1945761. * Thu Jan 20 2022 Fedora Release Engineering - 0.3.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 23 12:46:50 CET 2021 Robert-André Mauchin - 0.3.5-1 - Update to 0.3.5 - Close: rhbz#1914458 * Sat Dec 26 13:36:24 CET 2020 Robert-André Mauchin - 0.3.4-1 - Update to 0.3.4 - Close: rhbz#1847788 * Fri Aug 07 21:06:39 CEST 2020 Robert-André Mauchin - 0.3.3-1 - Update to 0.3.3 * Sat Aug 01 2020 Fedora Release Engineering - 0.3.2-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Aug 18 2019 Elliott Sales de Andrade - 0.3.2-5 - Update to latest version * Thu Jul 25 2019 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 0.3.0-4.20190416gitf4905fb - Add Obsoletes for old name * Tue Apr 16 00:29:58 CEST 2019 Robert-André Mauchin - 0.3.0-3.20190416gitf4905fb - Bump to commit f4905fbd45b6790792202848439271c74074bbfd * Fri Feb 01 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 27 2018 Robert-André Mauchin - 0.3.0-1 - Update to release 0.3.0 * Tue Oct 23 2018 Nicolas Mailhot - 0-0.26.git3bd178b - 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.25.git3bd178b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Mar 18 2018 Robert-André Mauchin - 0-0.24.git3bd178b - Fix typo in package name * Thu Mar 15 2018 Jan Chaloupka - 0-0.23.git3bd178b - Update to spec 3.0 - Fix test error reported by go1.10 * Wed Feb 07 2018 Fedora Release Engineering - 0-0.22.git3bd178b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 24 2017 Jan Chaloupka - 0-0.21.git3bd178b - Bump to upstream 3bd178b88a8180be2df394a1fbb81313916f0e7b related: #1254601 * Fri Aug 11 2017 Athos Ribeiro - 0-0.20.git65f4f82 - Bump to upstream 65f4f820a7954b82e5c9325e1e088a4fda098f36 - related: #1254601 * Wed Aug 02 2017 Fedora Release Engineering - 0-0.19.git04b8648 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.18.git04b8648 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.17.git04b8648 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 13 2017 Jan Chaloupka - 0-0.16.git04b8648 - Bump to upstream 04b8648d973c126ae60143b3e1473bc1576c7597 related: #1254601 * Wed Dec 14 2016 Jan Chaloupka - 0-0.15.git6fc2e00 - Polish the spec file related: #1254601 * Wed Aug 10 2016 jchaloup - 0-0.14.git6fc2e00 - skip currency test on aarch64 (binaries have different size) resolves: #1365814 * Wed Jul 27 2016 jchaloup - 0-0.13.git6fc2e00 - skip currency test on s390x (binaries have different size) resolves: #1360388 * Mon Jul 25 2016 jchaloup - 0-0.12.git6fc2e00 - Polishing the spec file related: #1254601 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.11.git6fc2e00 - https://fedoraproject.org/wiki/Changes/golang1.7 * Tue Feb 23 2016 Peter Robinson 0-0.10.git6fc2e00 - License and arch definition cleanup * Mon Feb 22 2016 Fedora Release Engineering - 0-0.9.git6fc2e00 - https://fedoraproject.org/wiki/Changes/golang1.6 * Fri Feb 19 2016 jchaloup - 0-0.8.git6fc2e00 - Bump to upstream 6fc2e00a0d64b1f7fc1212dae5b0c939cf6d9ac4 Repository has moved from code.google.com/p/go.text to github.com/golang/text related: #1254601 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.7.hg5b2527008a4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Aug 20 2015 jchaloup - 0-0.6.hg5b2527008a4c - Choose the correct devel subpackage related: #1254601 * Thu Aug 20 2015 jchaloup - 0-0.5.hg5b2527008a4c - Update spec file to spec-2.0 resolves: #1254601 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.4.hg5b2527008a4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Dec 09 2014 jchaloup - 0-0.3.hg5b2527008a4c - Update to the latest commit 5b2527008a4c8988ca9dc6f010ebfb9dae67150b related: #1056285 * Fri Nov 21 2014 jchaloup - 0-0.2.hg024681b033be - Extend import paths for golang.org/x/ - Choose the correct architecture related: #1056285 * Sun Sep 28 2014 Lokesh Mandvekar - 0-0.1.hg024681b033be - Resolves: rhbz#1056285 - Initial package