diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2a2c82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/elastic-2.0.61.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..751f2e6 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: d48d3495cef751a55a7e6fad3c2e09f09013a257b8de17811f87f240b8c7592c +imports: [] +updated: '2018-07-08T18:26:06.841768+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..ff54f5f --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: gopkg.in/olivere/elastic.v2 + diff --git a/golang-gopkg-olivere-elastic-2.spec b/golang-gopkg-olivere-elastic-2.spec new file mode 100644 index 0000000..26334a2 --- /dev/null +++ b/golang-gopkg-olivere-elastic-2.spec @@ -0,0 +1,93 @@ +# Generated by go2rpm +# Need Elasticsearch serve +%bcond_with check + +# https://github.com/olivere/elastic +%global goipath gopkg.in/olivere/elastic.v2 +%global forgeurl https://github.com/olivere/elastic +Version: 2.0.61 + +%gometa + +%global common_description %{expand: +Package Elastic provides an interface to the Elasticsearch server.} + +%global golicenses LICENSE +%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS\\\ + ISSUE_TEMPLATE.md README.md + +%global gosupfiles glide.lock glide.yaml + +Name: %{goname} +Release: 1%{?dist} +Summary: Elasticsearch client for Go + +License: MIT +URL: %{gourl} +Source0: %{gosource} +Source1: glide.yaml +Source2: glide.lock + +%if %{with check} +# Tests +BuildRequires: golang(github.com/fortytw2/leaktest) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep +cp %{S:1} %{S:2} . + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Fri May 17 20:40:17 CEST 2019 Robert-André Mauchin - 2.0.61-1 +- Release 2.0.61 + +* Fri Feb 01 2019 Fedora Release Engineering - 2.0.12-0.11.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 23 2018 Nicolas Mailhot - 2.0.12-0.10.git3cfe882 +- 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 - 2.0.12-0.9.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jul 08 2018 Jan Chaloupka - 2.0.12-0.8.git3cfe882 +- Upload glide files + +* Wed Feb 07 2018 Fedora Release Engineering - 2.0.12-0.7.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 2.0.12-0.6.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.0.12-0.5.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.0.12-0.4.git3cfe882 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 21 2016 Fedora Release Engineering - 2.0.12-0.3.git3cfe882 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Thu Jun 02 2016 jchaloup - 2.0.12-0.2.git3cfe882 +- Enable devel and unit-test subpackages for epel7 + related: #1327781 + +* Fri Apr 15 2016 jchaloup - 2.0.12-0.1.git3cfe882 +- First package for Fedora + resolves: #1327781 diff --git a/sources b/sources new file mode 100644 index 0000000..ea25158 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (elastic-2.0.61.tar.gz) = 85c131b93b842a2b9f8bce6a4a7cd04a516a643318a9c94205bdeab75715a1bf6c9a2abd11ae75b8c4a42e6206fc19db8bb79413c13b2ec492ebe2faead8865a