## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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/dustin/go-humanize %global goipath github.com/dustin/go-humanize Version: 1.0.1 %gometa # Remove in F33: %global godevelheader %{expand: Obsoletes: golang-github-dustin-go-humanize-devel < 1.0.0-2 } %global common_description %{expand: Package humanize converts boring ugly numbers to human-friendly strings and back. Durations can be turned into strings such as "3 days ago", numbers representing sizes like 82854982 into useful strings like, "83 MB" or "79 MiB" (whichever you prefer).} %global golicenses LICENSE %global godocs README.markdown Name: %{goname} Release: %autorelease Summary: Formatters for units to human friendly sizes License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Mar 16 2023 Elliott Sales de Andrade 1.0.1-2 - Remove old glide files * Thu Mar 16 2023 Elliott Sales de Andrade 1.0.1-1 - Update to latest version * Thu Jan 19 2023 Fedora Release Engineering - 1.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 1.0.0-4 - Add Obsoletes for old name * Fri Apr 26 19:35:13 CEST 2019 Robert-André Mauchin - 1.0.0-3 - Update to new macros * Wed Apr 03 23:57:16 CEST 2019 Robert-André Mauchin - 1.0.0-1 - Release 1.0.0 (#1695234) * Thu Jan 31 2019 Fedora Release Engineering - 0-0.12.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.11.git8929fe9 - 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.10.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Jan Chaloupka - 0-0.9.git8929fe9 - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0-0.8.20151125git8929fe9 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.7.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.6.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.5.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.4.git8929fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 16 2016 Jan Chaloupka - 0-0.3.git8929fe9 - Polish the spec file resolves: #1405624 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.2.git8929fe9 - https://fedoraproject.org/wiki/Changes/golang1.7 * Sun May 15 2016 jchaloup - 0-0.1.git8929fe9 - First package for Fedora resolves: #1336217