The package rpms/golang-github-Shopify-sarama.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/golang-github-Shopify-sarama.git/com....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change: ============
commit a661ecaf069622fbf3ddfc62381457da812f45af Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Sun Jun 23 22:24:26 2019 +0200
Renamed to golang-github-shopify-sarama
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index aade4b1..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/sarama-87ec8d7.tar.gz -/sarama-1.22.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6784935 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-shopify-sarama diff --git a/golang-github-shopify-sarama.spec b/golang-github-shopify-sarama.spec deleted file mode 100644 index d92efd2..0000000 --- a/golang-github-shopify-sarama.spec +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/Shopify/sarama -%global goipath github.com/Shopify/sarama -Version: 1.22.0 - -%gometa - -%global common_description %{expand: -Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).} - -%global golicenses LICENSE -%global godocs examples CHANGELOG.md README.md - -Name: %{goname} -Release: 1%{?dist} -Summary: Go library for Apache Kafka 0.8, and up - -License: MIT -URL: %{gourl} -Source0: %{gosource} - -BuildRequires: golang(github.com/DataDog/zstd) -BuildRequires: golang(github.com/davecgh/go-spew/spew) -BuildRequires: golang(github.com/eapache/go-resiliency/breaker) -BuildRequires: golang(github.com/eapache/go-xerial-snappy) -BuildRequires: golang(github.com/eapache/queue) -BuildRequires: golang(github.com/pierrec/lz4) -BuildRequires: golang(github.com/rcrowley/go-metrics) -BuildRequires: golang(github.com/xdg/scram) -BuildRequires: golang(golang.org/x/net/proxy) - -%if %{with check} -# Tests -BuildRequires: golang(github.com/Shopify/toxiproxy/client) -BuildRequires: golang(github.com/stretchr/testify/require) -%endif - -%description -%{common_description} - -%gopkg - -%prep -%goprep - -%build -for cmd in tools/kafka-console-partitionconsumer tools/kafka-console-producer tools/kafka-console-consumer tools/kafka-producer-performance; do - %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd -done - -%install -%gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ - -%if %{with check} -%check -%gocheck -%endif - -%files -%license %{golicenses} -%doc %{godocs} -%{_bindir}/* - -%gopkgfiles - -%changelog -* Tue Apr 23 18:29:25 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 1.22.0-1 -- Release 1.22.0 - -* Thu Jan 31 2019 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.9.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Aug 27 2018 Jan Chaloupka jchaloup@redhat.com - 1.7.0-0.8.git87ec8d7 -- Disable tests - resolves: #1555780 - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.7.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.6.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.5.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.4.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.3.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jul 21 2016 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.7.0-0.2.git87ec8d7 -- https://fedoraproject.org/wiki/Changes/golang1.7 - -* Fri Apr 15 2016 jchaloup jchaloup@redhat.com - 1.7.0-0.1.git87ec8d7 -- First package for Fedora - resolves: #1327762 diff --git a/sources b/sources deleted file mode 100644 index 8e6a5b1..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (sarama-1.22.0.tar.gz) = 257b50b282da7e6f0cc0ba6886c7be964e0192ca6a01653b49aa14fabd8c4b76eec47de796d2be820578118071b86e4a43f08cb789f13d1f266fa24ea55e07f1
commit 43a3ffc449bcfbaa77c0327a9d3ba250ddbeaa47 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Wed Apr 24 01:35:56 2019 +0200
Release 1.22.0
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index d4c9835..aade4b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sarama-87ec8d7.tar.gz +/sarama-1.22.0.tar.gz diff --git a/golang-github-Shopify-sarama.spec b/golang-github-Shopify-sarama.spec deleted file mode 100644 index 1f9c091..0000000 --- a/golang-github-Shopify-sarama.spec +++ /dev/null @@ -1,198 +0,0 @@ -%if 0%{?fedora} || 0%{?rhel} == 6 -%global with_devel 1 -%global with_bundled 0 -%global with_debug 0 -%global with_check 1 -%global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%global provider github -%global provider_tld com -%global project Shopify -%global repo sarama -# https://github.com/Shopify/sarama -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 87ec8d76e89cc002ff5673ee7598ae1db2f32424 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 1.7.0 -Release: 0.9.git%{shortcommit}%{?dist} -Summary: Sarama is a Go library for Apache Kafka 0.8 and 0.9 -License: MIT -URL: https://%%7Bprovider_prefix%7D -Source0: https://%%7Bprovider_prefix%7D/archive/%%7Bcommit%7D/%%7Brepo%7D-%%7Bshortco... - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} - -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires: golang(github.com/eapache/go-resiliency/breaker) -BuildRequires: golang(github.com/eapache/queue) -BuildRequires: golang(github.com/golang/snappy) -BuildRequires: golang(github.com/klauspost/crc32) -%endif - -Requires: golang(github.com/eapache/go-resiliency/breaker) -Requires: golang(github.com/eapache/queue) -Requires: golang(github.com/golang/snappy) -Requires: golang(github.com/klauspost/crc32) - -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/mocks) = %{version}-%{release} - -%description devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. -%endif - -%if 0%{?with_unit_test} && 0%{?with_devel} -%package unit-test-devel -Summary: Unit tests for %{name} package -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif - -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires: golang(github.com/Shopify/toxiproxy/client) -BuildRequires: golang(github.com/davecgh/go-spew/spew) -%endif - -Requires: golang(github.com/Shopify/toxiproxy/client) -Requires: golang(github.com/davecgh/go-spew/spew) - -%description unit-test-devel -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif - -%prep -%setup -q -n %{repo}-%{commit} - -%build - -%install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" ! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test-devel.file-list -for file in $(find . -iname "*_test.go"); do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list -done -%endif - -%if 0%{?with_devel} -sort -u -o devel.file-list devel.file-list -%endif - -%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%if ! 0%{?with_bundled} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%else -export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} -%endif - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -#%%gotest %{import_path} -#%%gotest %{import_path}/examples/http_server -# panic: runtime error: invalid memory address or nil pointer dereference [recovered] on i686 -#%%gotest %%{import_path}/mocks -%endif - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%if 0%{?with_devel} -%files devel -f devel.file-list -%license MIT-LICENSE -%doc CHANGELOG.md CONTRIBUTING.md README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%endif - -%if 0%{?with_unit_test} && 0%{?with_devel} -%files unit-test-devel -f unit-test-devel.file-list -%license MIT-LICENSE -%doc CHANGELOG.md CONTRIBUTING.md README.md -%endif - -%changelog -* Thu Jan 31 2019 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.9.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Aug 27 2018 Jan Chaloupka jchaloup@redhat.com - 1.7.0-0.8.git87ec8d7 -- Disable tests - resolves: #1555780 - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.7.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.6.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.5.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.4.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.3.git87ec8d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jul 21 2016 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.7.0-0.2.git87ec8d7 -- https://fedoraproject.org/wiki/Changes/golang1.7 - -* Fri Apr 15 2016 jchaloup jchaloup@redhat.com - 1.7.0-0.1.git87ec8d7 -- First package for Fedora - resolves: #1327762 diff --git a/golang-github-shopify-sarama.spec b/golang-github-shopify-sarama.spec new file mode 100644 index 0000000..d92efd2 --- /dev/null +++ b/golang-github-shopify-sarama.spec @@ -0,0 +1,101 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/Shopify/sarama +%global goipath github.com/Shopify/sarama +Version: 1.22.0 + +%gometa + +%global common_description %{expand: +Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).} + +%global golicenses LICENSE +%global godocs examples CHANGELOG.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Go library for Apache Kafka 0.8, and up + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/DataDog/zstd) +BuildRequires: golang(github.com/davecgh/go-spew/spew) +BuildRequires: golang(github.com/eapache/go-resiliency/breaker) +BuildRequires: golang(github.com/eapache/go-xerial-snappy) +BuildRequires: golang(github.com/eapache/queue) +BuildRequires: golang(github.com/pierrec/lz4) +BuildRequires: golang(github.com/rcrowley/go-metrics) +BuildRequires: golang(github.com/xdg/scram) +BuildRequires: golang(golang.org/x/net/proxy) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/Shopify/toxiproxy/client) +BuildRequires: golang(github.com/stretchr/testify/require) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%build +for cmd in tools/kafka-console-partitionconsumer tools/kafka-console-producer tools/kafka-console-consumer tools/kafka-producer-performance; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck +%endif + +%files +%license %{golicenses} +%doc %{godocs} +%{_bindir}/* + +%gopkgfiles + +%changelog +* Tue Apr 23 18:29:25 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 1.22.0-1 +- Release 1.22.0 + +* Thu Jan 31 2019 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.9.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Aug 27 2018 Jan Chaloupka jchaloup@redhat.com - 1.7.0-0.8.git87ec8d7 +- Disable tests + resolves: #1555780 + +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.7.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.6.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.5.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.4.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 1.7.0-0.3.git87ec8d7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 21 2016 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.7.0-0.2.git87ec8d7 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Fri Apr 15 2016 jchaloup jchaloup@redhat.com - 1.7.0-0.1.git87ec8d7 +- First package for Fedora + resolves: #1327762 diff --git a/sources b/sources index f134d63..8e6a5b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7ba893a8fdc8d68b17657ad6c130c0d4 sarama-87ec8d7.tar.gz +SHA512 (sarama-1.22.0.tar.gz) = 257b50b282da7e6f0cc0ba6886c7be964e0192ca6a01653b49aa14fabd8c4b76eec47de796d2be820578118071b86e4a43f08cb789f13d1f266fa24ea55e07f1
arch-excludes@lists.fedoraproject.org