## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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.0 %bcond_without check %global debug_package %{nil} # https://github.com/docker/go-units %global goipath github.com/docker/go-units Version: 0.4.0 %gometa %global common_description %{expand: Go-units is a library to transform human friendly measurements into machine friendly values.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Parse and print size and time units in human-readable format License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Aug 23 2022 Robert-André Mauchin 0.4.0-11 - SPEC cleanup * Thu Jul 21 2022 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 09 2019 Elliott Sales de Andrade - 0.4.0-2 - Add Obsoletes for old name * Wed May 01 15:43:55 CEST 2019 Robert-André Mauchin - 0.4.0-1 - Release 0.4.0 * Thu Jan 31 2019 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 01 2018 Robert-André Mauchin - 0.3.3-1 - Release 0.3.3 * Tue Oct 23 2018 Nicolas Mailhot - 0.2.0-12 - 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.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 09 2018 Jan Chaloupka - 0.2.0-10.git9b00165 - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0.2.0-9 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 04 2017 Troy Dawson - 0.2.0-7 - Cleanup spec file conditionals * Wed Aug 02 2017 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0.2.0-3 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0.2.0-2 - https://fedoraproject.org/wiki/Changes/golang1.6 * Thu Jan 28 2016 Antonio Murdaca - 0.2.0.git9b00165 - First package for Fedora