The package rpms/golang-github-gengo-grpc-gateway.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-gengo-grpc-gateway.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit b039535c7b1c9128b4c2bd962af81772102a0b0f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Sep 26 10:20:28 2018 +0200
Polish spec file
- resolves: #1555797
diff --git a/.gitignore b/.gitignore
index a4d3a90..a5f1509 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/grpc-gateway-dcb8443.tar.gz
+/grpc-gateway-dcb844349dc5d2cb0300fdc4d2d374839d0d2e13.tar.gz
diff --git a/golang-github-gengo-grpc-gateway.spec
b/golang-github-gengo-grpc-gateway.spec
index 95aaa69..10c19c9 100644
--- a/golang-github-gengo-grpc-gateway.spec
+++ b/golang-github-gengo-grpc-gateway.spec
@@ -1,15 +1,12 @@
#
http://github.com/gengo/grpc-gateway
-%global provider_prefix
github.com/gengo/grpc-gateway
-%global gobaseipath %{provider_prefix}
+%global goipath
github.com/gengo/grpc-gateway
%global commit dcb844349dc5d2cb0300fdc4d2d374839d0d2e13
-%global commitdate 20160614
-%global __go_ignore_trees %{gobaseipath}/examples
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: GRPC to JSON proxy generator
# Detected licences
# - BSD (3 clause) at 'LICENSE.txt'
@@ -41,7 +38,7 @@ BuildRequires:
golang(google.golang.org/grpc/metadata)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -50,7 +47,7 @@ building other packages which use import path with
%goinstall
%check
-%gochecks %{gobaseipath}/runtime
+%gochecks -d runtime
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -60,6 +57,10 @@ building other packages which use import path with
%doc README.md
%changelog
+* Wed Sep 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.8.gitdcb8443
+- Polish spec file
+ resolves: #1555797
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index b539553..6bc31f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-925810064c3899cf8ca8c68f2f447814 grpc-gateway-dcb8443.tar.gz
+SHA512 (grpc-gateway-dcb844349dc5d2cb0300fdc4d2d374839d0d2e13.tar.gz) =
8f4f443094fb94fb850968efedd16a2aa5100b2ac1f2363b0a7f8761dc7e8e68fa7d84410e03036ad1db41d688d9d82f54ce2647e080f678395bffa540374430
commit 9643a1cb4138641df50e3cc832a896cc199a50ca
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 03:34:00 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-gengo-grpc-gateway.spec
b/golang-github-gengo-grpc-gateway.spec
index 70f4132..95aaa69 100644
--- a/golang-github-gengo-grpc-gateway.spec
+++ b/golang-github-gengo-grpc-gateway.spec
@@ -9,7 +9,7 @@
Name: %{goname}
Version: 0
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
Summary: GRPC to JSON proxy generator
# Detected licences
# - BSD (3 clause) at 'LICENSE.txt'
@@ -60,6 +60,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20160614gitdcb8443
- Autogenerate some parts using the new macros
commit f1303c0ac994fe71879b247e7699259592289efa
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 15:46:37 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-gengo-grpc-gateway.spec
b/golang-github-gengo-grpc-gateway.spec
index edeea44..70f4132 100644
--- a/golang-github-gengo-grpc-gateway.spec
+++ b/golang-github-gengo-grpc-gateway.spec
@@ -1,58 +1,29 @@
-%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 gengo
-%global repo grpc-gateway
-#
https://github.com/gengo/grpc-gateway
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/gengo/grpc-gateway
+%global provider_prefix
github.com/gengo/grpc-gateway
+%global gobaseipath %{provider_prefix}
%global commit dcb844349dc5d2cb0300fdc4d2d374839d0d2e13
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160614
+%global __go_ignore_trees %{gobaseipath}/examples
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: GRPC to JSON proxy generator
# Detected licences
# - BSD (3 clause) at 'LICENSE.txt'
License: BSD
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# 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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/golang/glog)
BuildRequires:
golang(github.com/golang/protobuf/jsonpb)
BuildRequires:
golang(github.com/golang/protobuf/proto)
@@ -64,156 +35,34 @@ BuildRequires:
golang(google.golang.org/grpc)
BuildRequires:
golang(google.golang.org/grpc/codes)
BuildRequires:
golang(google.golang.org/grpc/grpclog)
BuildRequires:
golang(google.golang.org/grpc/metadata)
-%endif
-
-Requires:
golang(github.com/golang/glog)
-Requires:
golang(github.com/golang/protobuf/jsonpb)
-Requires:
golang(github.com/golang/protobuf/proto)
-Requires:
golang(github.com/golang/protobuf/protoc-gen-go/descriptor)
-Requires:
golang(github.com/golang/protobuf/protoc-gen-go/generator)
-Requires:
golang(github.com/golang/protobuf/protoc-gen-go/plugin)
-Requires:
golang(golang.org/x/net/context)
-Requires:
golang(google.golang.org/grpc)
-Requires:
golang(google.golang.org/grpc/codes)
-Requires:
golang(google.golang.org/grpc/grpclog)
-Requires:
golang(google.golang.org/grpc/metadata)
-
-Provides: golang(%{import_path}/examples/clients/abe) = %{version}-%{release}
-Provides: golang(%{import_path}/examples/clients/echo) = %{version}-%{release}
-Provides: golang(%{import_path}/examples/examplepb) = %{version}-%{release}
-Provides: golang(%{import_path}/examples/sub) = %{version}-%{release}
-Provides: golang(%{import_path}/examples/sub2) = %{version}-%{release}
-Provides: golang(%{import_path}/protoc-gen-grpc-gateway/descriptor) =
%{version}-%{release}
-Provides: golang(%{import_path}/protoc-gen-grpc-gateway/generator) =
%{version}-%{release}
-Provides: golang(%{import_path}/protoc-gen-grpc-gateway/gengateway) =
%{version}-%{release}
-Provides: golang(%{import_path}/protoc-gen-grpc-gateway/httprule) =
%{version}-%{release}
-Provides: golang(%{import_path}/protoc-gen-swagger/genswagger) =
%{version}-%{release}
-Provides: golang(%{import_path}/runtime) = %{version}-%{release}
-Provides: golang(%{import_path}/third_party/googleapis/google/api) =
%{version}-%{release}
-Provides: golang(%{import_path}/utilities) = %{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/golang/protobuf/ptypes/duration)
-BuildRequires:
golang(github.com/golang/protobuf/ptypes/empty)
-BuildRequires:
golang(github.com/golang/protobuf/ptypes/struct)
-BuildRequires:
golang(github.com/golang/protobuf/ptypes/timestamp)
-BuildRequires:
golang(github.com/golang/protobuf/ptypes/wrappers)
-%endif
-
-Requires:
golang(github.com/golang/protobuf/ptypes/duration)
-Requires:
golang(github.com/golang/protobuf/ptypes/empty)
-Requires:
golang(github.com/golang/protobuf/ptypes/struct)
-Requires:
golang(github.com/golang/protobuf/ptypes/timestamp)
-Requires:
golang(github.com/golang/protobuf/ptypes/wrappers)
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%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" | grep -v
"Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-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" | grep -v
"Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >>
unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%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}/protoc-gen-grpc-gateway/descriptor
-%gotest %{import_path}/protoc-gen-grpc-gateway/gengateway
-%gotest %{import_path}/protoc-gen-grpc-gateway/httprule
-%gotest %{import_path}/protoc-gen-swagger/genswagger
-%gotest %{import_path}/runtime
-%gotest %{import_path}/utilities
-%endif
+%gochecks %{gobaseipath}/runtime
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc 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 LICENSE.txt
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20160614gitdcb8443
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.5.gitdcb8443
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild