# Generated by go2rpm %bcond_without check # https://github.com/dustin/go-humanize %global goipath github.com/dustin/go-humanize Version: 1.0.0 %gometa %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 %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: 2%{?dist} Summary: Formatters for units to human friendly sizes License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall # Remove in F33 # Remove erroneous glide.lock folder %pretrans devel -p path = "%{gopath}/src/%{goipath}/glide.lock" st = posix.stat(path) if st and st.type == "directory" then os.remove(path) end %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri Apr 26 19:35:13 CEST 2019 Robert-André Mauchin - 1.0.0-2 - 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