From e0f77c10712dd91ebf631247b0f80a3b47dcb519 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 18 2019 14:56:42 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-hashicorp-golang-lru.spec b/golang-github-hashicorp-golang-lru.spec deleted file mode 100644 index 495a676..0000000 --- a/golang-github-hashicorp-golang-lru.spec +++ /dev/null @@ -1,112 +0,0 @@ -# https://github.com/hashicorp/golang-lru -%global goipath github.com/hashicorp/golang-lru -Version: 0.5.1 - -%global common_description %{expand: -This provides the lru package which implements a fixed-size thread safe LRU -cache. It is based on the cache in Groupcache.} - -%gometa - -Name: golang-github-hashicorp-golang-lru -Release: 1%{?dist} -Summary: Golang LRU cache -License: MPLv2.0 -URL: %{gourl} -Source0: %{gosource} - -%description -%{common_description} - - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{gobaseipath} prefix. - - -%prep -%forgesetup - -%install -%goinstall - - -%check -%gochecks - - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - - -%changelog -* Thu Mar 14 2019 Robert-André Mauchin - 0.5.1-1 -- Release 0.5.1 (#1683833) - -* Sat Feb 09 2019 Elliott Sales de Andrade - 0.5.0-1 -- Update to first tagged version - -* Fri Feb 01 2019 Fedora Release Engineering - 0-0.17.git0fb14ef -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Oct 23 2018 Nicolas Mailhot - 0-0.16.git0fb14ef -- 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.15.git0fb14ef -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 12 2018 Jan Chaloupka - 0-0.14.git0fb14ef -- Upload glide files - -* Fri Apr 13 2018 Robert-André Mauchin - 0-0.13.20180413git0fb14ef -- Bump to upstream 0fb14efe8c47ae851c0034ed7a448854d3d34cf3 - -* Wed Feb 28 2018 Jan Chaloupka - 0-0.12.20151028gita6091bb -- Autogenerate some parts using the new macros - -* Wed Feb 07 2018 Fedora Release Engineering - 0-0.11.gita6091bb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 0-0.10.gita6091bb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0-0.9.gita6091bb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0-0.8.gita6091bb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jul 21 2016 Fedora Release Engineering - 0-0.7.gita6091bb -- https://fedoraproject.org/wiki/Changes/golang1.7 - -* Mon Feb 22 2016 Fedora Release Engineering - 0-0.6.gita6091bb -- https://fedoraproject.org/wiki/Changes/golang1.6 - -* Wed Feb 03 2016 Fedora Release Engineering - 0-0.5.gita6091bb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 06 2016 Fridolin Pokorny - 0-0.4.gita6091bb -- Bump to upstream a6091bb5d00e2e9c4a16a0e739e306f8a3071a3c - related: #1250464 - -* Sat Sep 12 2015 jchaloup - 0-0.3.gitd85392d -- Update to spec-2.1 - related: #1250464 - -* Wed Aug 05 2015 Fridolin Pokorny - 0-0.2.gitd85392d -- Update spec file to spec-2.0 - resolves: #1250464 - -* Wed Apr 15 2015 jchaloup - 0-0.1.gitd85392d -- First package for Fedora - resolves: #1212048 - diff --git a/golang-github-hashicorp-lru.spec b/golang-github-hashicorp-lru.spec new file mode 100644 index 0000000..5df8ed4 --- /dev/null +++ b/golang-github-hashicorp-lru.spec @@ -0,0 +1,109 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/hashicorp/golang-lru +%global goipath github.com/hashicorp/golang-lru +Version: 0.5.1 + +%gometa + +%global common_description %{expand: +This provides the lru package which implements a fixed-size thread safe LRU +cache. It is based on the cache in Groupcache.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 12%{?dist} +Summary: Golang lru cache + +# Upstream license specification: MPL-2.0 +License: MPLv2.0 +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Apr 18 16:27:09 CEST 2019 Robert-André Mauchin - 0.5.1-2 +- Update to new macros + +* Thu Mar 14 2019 Robert-André Mauchin - 0.5.1-1 +- Release 0.5.1 (#1683833) + +* Sat Feb 09 2019 Elliott Sales de Andrade - 0.5.0-1 +- Update to first tagged version + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.17.git0fb14ef +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.16.git0fb14ef +- 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.15.git0fb14ef +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 12 2018 Jan Chaloupka - 0-0.14.git0fb14ef +- Upload glide files + +* Fri Apr 13 2018 Robert-André Mauchin - 0-0.13.20180413git0fb14ef +- Bump to upstream 0fb14efe8c47ae851c0034ed7a448854d3d34cf3 + +* Wed Feb 28 2018 Jan Chaloupka - 0-0.12.20151028gita6091bb +- Autogenerate some parts using the new macros + +* Wed Feb 07 2018 Fedora Release Engineering - 0-0.11.gita6091bb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0-0.10.gita6091bb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0-0.9.gita6091bb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0-0.8.gita6091bb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 21 2016 Fedora Release Engineering - 0-0.7.gita6091bb +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Mon Feb 22 2016 Fedora Release Engineering - 0-0.6.gita6091bb +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Wed Feb 03 2016 Fedora Release Engineering - 0-0.5.gita6091bb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 06 2016 Fridolin Pokorny - 0-0.4.gita6091bb +- Bump to upstream a6091bb5d00e2e9c4a16a0e739e306f8a3071a3c + related: #1250464 + +* Sat Sep 12 2015 jchaloup - 0-0.3.gitd85392d +- Update to spec-2.1 + related: #1250464 + +* Wed Aug 05 2015 Fridolin Pokorny - 0-0.2.gitd85392d +- Update spec file to spec-2.0 + resolves: #1250464 + +* Wed Apr 15 2015 jchaloup - 0-0.1.gitd85392d +- First package for Fedora + resolves: #1212048 +