The package rpms/golang-github-armon-circbuf.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-armon-circbuf.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit f425835a91e08ab81c715f322fe631df4a494a86
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Jun 8 16:03:58 2018 +0200
Upload glide.lock and glide.yaml
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2048669
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,3 @@
+hash: e6fc63d93507e3d040a07664d8139aa79b1ffb0f51981f8731a66820f0b33b40
+imports: []
+updated: '2018-06-08T14:01:11.608406+00:00'
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..027c3af
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/armon/circbuf
+
diff --git a/golang-github-armon-circbuf.spec b/golang-github-armon-circbuf.spec
index 882fa3d..587e583 100644
--- a/golang-github-armon-circbuf.spec
+++ b/golang-github-armon-circbuf.spec
@@ -11,6 +11,8 @@ Summary: Golang circular (ring) buffer
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -28,17 +30,15 @@ building other packages which use import path with
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
chmod -x LICENSE
%check
%gochecks
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
%files devel -f devel.file-list
%license LICENSE
%doc README.md
@@ -46,6 +46,7 @@ chmod -x LICENSE
%changelog
* Fri Jun 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.git.gitbbbad09
- Update to spec 3.0
+ Upload glide.lock and glide.yaml
* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20150827gitbbbad09
- Autogenerate some parts using the new macros
commit 1d4b33d72bb3f8f4c99114cf625e3968cb3a3f07
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Jun 8 15:59:44 2018 +0200
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index e6bd144..cfaf437 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/circbuf-bbbad09.tar.gz
+/circbuf-bbbad097214e2918d8543d5201d12bfd7bca254d.tar.gz
diff --git a/golang-github-armon-circbuf.spec b/golang-github-armon-circbuf.spec
index 74806a3..882fa3d 100644
--- a/golang-github-armon-circbuf.spec
+++ b/golang-github-armon-circbuf.spec
@@ -1,14 +1,12 @@
#
https://github.com/armon/circbuf
-%global provider_prefix
github.com/armon/circbuf
-%global gobaseipath %{provider_prefix}
+%global goipath
github.com/armon/circbuf
%global commit bbbad097214e2918d8543d5201d12bfd7bca254d
-%global commitdate 20150827
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14.git%{?dist}
Summary: Golang circular (ring) buffer
License: MIT
URL: %{gourl}
@@ -26,7 +24,7 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -46,6 +44,9 @@ chmod -x LICENSE
%doc README.md
%changelog
+* Fri Jun 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.git.gitbbbad09
+- Update to spec 3.0
+
* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20150827gitbbbad09
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 68a5b5b..a691d9a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7df18e0a7647cd27b8822082d038c828 circbuf-bbbad09.tar.gz
+SHA512 (circbuf-bbbad097214e2918d8543d5201d12bfd7bca254d.tar.gz) =
a97ff3d2df6961bd0a365872d844c8d1af2835c03aa832a2cf52b65b134c70044acf6629268e98df13c0c566cf0145e6080be9283b2e0dd1b18274e4636ca55a
commit a422c1e41e9c7d5cc29d9acd94811457f0236520
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Feb 26 12:27:32 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-armon-circbuf.spec b/golang-github-armon-circbuf.spec
index 83e079f..74806a3 100644
--- a/golang-github-armon-circbuf.spec
+++ b/golang-github-armon-circbuf.spec
@@ -1,156 +1,54 @@
-%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 armon
-%global repo circbuf
#
https://github.com/armon/circbuf
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/armon/circbuf
+%global gobaseipath %{provider_prefix}
%global commit bbbad097214e2918d8543d5201d12bfd7bca254d
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150827
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
-Summary: Golang circular (ring) buffer
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Summary: Golang circular (ring) buffer
License: MIT
-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}
-
%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 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
+%goinstall
chmod -x LICENSE
-%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.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
%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}
-%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.md
-%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.md
-%endif
%changelog
+* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20150827gitbbbad09
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.12.gitbbbad09
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -191,6 +89,3 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Apr 15 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitf092b4f
- First package for Fedora
resolves: #1211985
-
-
-