diff --git a/.gitignore b/.gitignore index 1dca16c..e46b38e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /go-units-9b001659dd36225e356b4467c465d732e745f53d.tar.gz /go-units-0.3.3.tar.gz +/go-units-0.4.0.tar.gz diff --git a/golang-github-docker-go-units.spec b/golang-github-docker-go-units.spec deleted file mode 100644 index 00d2bae..0000000 --- a/golang-github-docker-go-units.spec +++ /dev/null @@ -1,95 +0,0 @@ -# http://github.com/docker/go-units -%global goipath github.com/docker/go-units -Version: 0.3.3 - -%gometa - -Name: golang-github-docker-go-units -Release: 2%{?dist} -Summary: Transform human friendly measurements into machine friendly values -License: ASL 2.0 -URL: %{gourl} -Source0: %{gosource} -Source1: glide.lock -Source2: glide.yaml - -%description -%{summary} - - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - - -%prep -%forgesetup -cp %{SOURCE1} %{SOURCE2} . - - -%install -%goinstall glide.lock glide.yaml - - -%check -%gochecks - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - - -%changelog -* 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 diff --git a/golang-github-docker-units.spec b/golang-github-docker-units.spec new file mode 100644 index 0000000..4d99fcc --- /dev/null +++ b/golang-github-docker-units.spec @@ -0,0 +1,94 @@ +# Generated by go2rpm +%bcond_without check + +# 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 + +%global gosupfiles glide.lock glide.yaml + +Name: %{goname} +Release: 1%{?dist} +Summary: Parse and print size and time units in human-readable format + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} +Source1: glide.lock +Source2: glide.yaml + +%description +%{common_description} + +%gopkg + +%prep +%goprep +cp %{S:1} %{S:2} . + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* 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 diff --git a/sources b/sources index ef992e3..c8f9b18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-units-0.3.3.tar.gz) = 83b8433270e99aaee1c2b04bd7a7723ee32174c55e96bc11765c2ec077c019f077c9aff571a8e94cdceb52019a0b11259f822644df5b2891b3751e1d1f495ad5 +SHA512 (go-units-0.4.0.tar.gz) = 7b714811b2821f68ecca4cc220f564cda871c19ba043b7b1a69ac70d103bd9002cc698121bbc2a15936e96af862430eed47e2fea022c44005ffe5dfdf9cf0e27