The package rpms/golang-github-bradfitz-http2.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-bradfitz-http2.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit d8e3cb55f83de89c64c3cc4f1606e5c041a2c7dc
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Jun 8 22:21:13 2018 +0200
Upload glide.lock and glide.yaml
diff --git a/.gitignore b/.gitignore
index 2909059..ce50498 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/http2-f8202bc.tar.gz
+/http2-f8202bc903bda493ebba4aa54922d78430c2c42f.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..57ec0c4
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,7 @@
+hash: 303d0a9ab9292b71adfdfd74453a34aac5f0cc373354cd083c6a902305f6a889
+imports:
+- name:
golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 24ffb5feb3312a39054178a4b0a4554fc2201248
+updated: '2018-06-08T20:18:08.672963+00:00'
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..cf8908e
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,7 @@
+import:
+- package:
golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 24ffb5feb3312a39054178a4b0a4554fc2201248
+package:
github.com/bradfitz/http2
+
diff --git a/golang-github-bradfitz-http2.spec b/golang-github-bradfitz-http2.spec
index ad64abc..6fec4fe 100644
--- a/golang-github-bradfitz-http2.spec
+++ b/golang-github-bradfitz-http2.spec
@@ -1,18 +1,18 @@
-#
https://github.com/bradfitz/http2
-%global provider_prefix
github.com/bradfitz/http2
-%global gobaseipath %{provider_prefix}
+#
http://github.com/bradfitz/http2
+%global goipath
github.com/bradfitz/http2
%global commit f8202bc903bda493ebba4aa54922d78430c2c42f
-%global commitdate 20150509
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: HTTP/2 support for Go (in active development)
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -26,25 +26,27 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall $(find . -iname "testdata" -type d)
+files="$(find . -iname 'testdata' -type d)"
+%goinstall $files glide.lock glide.yaml
%check
%gochecks
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
%files devel -f devel.file-list
%license LICENSE
%doc README AUTHORS CONTRIBUTORS HACKING
%changelog
+* Fri Jun 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.gitf8202bc
+- Upload glide.lock and glide.yaml
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20150509gitf8202bc
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 4c99f6f..4720b0c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-502f885e6caf3aa43560c2ea7ba7acd8 http2-f8202bc.tar.gz
+SHA512 (http2-f8202bc903bda493ebba4aa54922d78430c2c42f.tar.gz) =
10e6df6e6d4f5b6f24d4f2e66f594385a6a313715659ca60addc0f1cde1fb4141d0fd9365e3dc49a84d604de7ec377d2003357f66d62b598709a5fc0e206b35d
commit 16b4fef59e8f4075304e77cdc6dfd3be008e8999
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 10:24:13 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-bradfitz-http2.spec b/golang-github-bradfitz-http2.spec
index 799d047..ad64abc 100644
--- a/golang-github-bradfitz-http2.spec
+++ b/golang-github-bradfitz-http2.spec
@@ -1,159 +1,53 @@
-%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 bradfitz
-%global repo http2
#
https://github.com/bradfitz/http2
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/bradfitz/http2
+%global gobaseipath %{provider_prefix}
%global commit f8202bc903bda493ebba4aa54922d78430c2c42f
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150509
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
Summary: HTTP/2 support for Go (in active development)
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}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/hpack) = %{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
-Summary: Unit tests for %{name} package
-# 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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%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 unit-test.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}/
-cp -rpav testdata %{buildroot}/%{gopath}/src/%{import_path}/.
-echo "%%{gopath}/src/%%{import_path}/testdata" >> unit-test.file-list
-# find all *_test.go files and generate unit-test.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.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall $(find . -iname "testdata" -type d)
%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}/hpack
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README AUTHORS CONTRIBUTORS HACKING
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README AUTHORS CONTRIBUTORS HACKING
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20150509gitf8202bc
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.9.gitf8202bc
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 02fc7366cfcfcfcbd77d3ea82d42cc5ee69b4b7f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:01:28 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-bradfitz-http2.spec b/golang-github-bradfitz-http2.spec
index 3a568c6..799d047 100644
--- a/golang-github-bradfitz-http2.spec
+++ b/golang-github-bradfitz-http2.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.git%{shortcommit}%{?dist}
Summary: HTTP/2 support for Go (in active development)
License: BSD
URL: https://%{provider_prefix}
@@ -154,6 +154,9 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.9.gitf8202bc
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.8.gitf8202bc
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild