The package rpms/golang-github-mreiferson-go-httpclient.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-mreiferson-go-httpc....
Change:
-%ifarch 0%{?gccgo_arches}
Thanks.
Full change:
============
commit a69ca5313e7ac7af8198c8622f8f639154d778bd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jul 8 19:33:07 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 7d7aa12..4d951a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-httpclient-c121dfe.tar.gz
+/go-httpclient-c121dfe45d66997e43e25a6823fbe7466c8403fe.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..dcfce7e
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: cdf54652f4198498ad4590815d6ea89169b85e17cfb699d2cadf19738bffa053
+imports: []
+updated: '2018-07-08T17:32:59.434932+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..b20bdc5
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/mreiferson/go-httpclient
+
diff --git a/golang-github-mreiferson-go-httpclient.spec
b/golang-github-mreiferson-go-httpclient.spec
index 42b43de..4795e7d 100644
--- a/golang-github-mreiferson-go-httpclient.spec
+++ b/golang-github-mreiferson-go-httpclient.spec
@@ -1,174 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Internet connection is required
-%global with_check 0
-%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
-
-%define copying() \
-%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \
-%license %{*} \
-%else \
-%doc %{*} \
-%endif
-
-%global provider github
-%global provider_tld com
-%global project mreiferson
-%global repo go-httpclient
-#
https://github.com/mreiferson/go-httpclient
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/mreiferson/go-httpclient
+
+%global goipath
github.com/mreiferson/go-httpclient
%global commit c121dfe45d66997e43e25a6823fbe7466c8403fe
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: golang-github-mreiferson-go-httpclient
Version: 0
-Release: 0.10.git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: A Go HTTP client library
License: BSD
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# If go_arches not defined fall through to implicit golang archs
-%if 0%{?go_arches:1}
-ExclusiveArch: %{go_arches}
-%else
-ExclusiveArch: %{ix86} x86_64 %{arm}
-%endif
-# If gccgo_arches does not fit or is not defined fall through to golang
-%ifarch 0%{?gccgo_arches}
-BuildRequires: gcc-go >= %{gccgo_min_vers}
-%else
-BuildRequires: golang
-%endif
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
-Provides an HTTP Transport that implements the `RoundTripper` interface and
+
can be used as a built in replacement for the standard librarys.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{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}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_arches not defined fall through to implicit golang archs
-%if 0%{?go_arches:1}
-ExclusiveArch: %{go_arches}
-%else
-ExclusiveArch: %{ix86} x86_64 %{arm}
-%endif
-# If gccgo_arches does not fit or is not defined fall through to golang
-%ifarch 0%{?gccgo_arches}
-BuildRequires: gcc-go >= %{gccgo_min_vers}
-%else
-BuildRequires: golang
-%endif
-
-%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}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- 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}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- 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.file-list
-done
-%endif
+%goinstall glide.lock glide.yaml
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%ifarch 0%{?gccgo_arches}
-function gotest { %{gcc_go_test} "$@"; }
-%else
-%if 0%{?golang_test:1}
-function gotest { %{golang_test} "$@"; }
-%else
-function gotest { go test "$@"; }
-%endif
-%endif
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-gotest %{import_path}
-%endif
-
-%if 0%{?with_devel}
-%files devel -f devel.file-list
-%copying LICENSE
-%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%dir %{gopath}/src/%{import_path}
-%endif
+%gochecks -d .
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%copying LICENSE
+%files devel -f devel.file-list
+%license LICENSE
%doc README.md
-%endif
%changelog
+* Sun Jul 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.gitc121dfe
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.10.gitc121dfe
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 9d5a5ff..8c69120 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1a73dae0388e525bbce1dd7272c72792 go-httpclient-c121dfe.tar.gz
+SHA512 (go-httpclient-c121dfe45d66997e43e25a6823fbe7466c8403fe.tar.gz) =
7c87d176986bc42e01464a24029901db10254afab1b82bc68344ddc708ee6ce850bddd1ce35bea3ce0a2c9036ac416a6422ac76149d62ce79c597a57dc7bc1f7
commit 5bacaf9e5701722293bf05324ef0ba18aa06c089
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:41:42 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-mreiferson-go-httpclient.spec
b/golang-github-mreiferson-go-httpclient.spec
index c1004e8..42b43de 100644
--- a/golang-github-mreiferson-go-httpclient.spec
+++ b/golang-github-mreiferson-go-httpclient.spec
@@ -38,7 +38,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.git%{shortcommit}%{?dist}
Summary: A Go HTTP client library
License: BSD
URL: https://%{provider_prefix}
@@ -169,6 +169,9 @@ gotest %{import_path}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.10.gitc121dfe
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.9.gitc121dfe
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild