The package rpms/golang-github-bmizerany-assert.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-bmizerany-assert.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 086b9f0d17c3bbc88e4f57c43054d7f3726efb65
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Jun 8 21:27:08 2018 +0200
Upload glide.lock and glide.yaml
diff --git a/.gitignore b/.gitignore
index 062e69b..9952bcc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/assert-e17e998.tar.gz
+/assert-e17e99893cb6509f428e1728281c2ad60a6b31e3.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..cd17bd2
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,5 @@
+hash: 57ec44bd0d73ea7614cbde663a42e53048643b383fd3cf19246ae005253d4479
+imports:
+- name:
github.com/kr/pretty
+ version: 821b30f52f1af83de62fd3a4baf33c4b80b0e1e5
+updated: '2018-06-08T19:25:24.880172+00:00'
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..b849806
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package:
github.com/kr/pretty
+ version: 821b30f52f1af83de62fd3a4baf33c4b80b0e1e5
+package:
github.com/bmizerany/assert
+
diff --git a/golang-github-bmizerany-assert.spec b/golang-github-bmizerany-assert.spec
index c795416..a44331d 100644
--- a/golang-github-bmizerany-assert.spec
+++ b/golang-github-bmizerany-assert.spec
@@ -1,18 +1,18 @@
-#
https://github.com/bmizerany/assert
-%global provider_prefix
github.com/bmizerany/assert
-%global gobaseipath %{provider_prefix}
+#
http://github.com/bmizerany/assert
+%global goipath
github.com/bmizerany/assert
%global commit e17e99893cb6509f428e1728281c2ad60a6b31e3
-%global commitdate 20120716
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.13%{?dist}
Summary: Assertions for Go tests
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
Patch0: add-license.path
%description
@@ -29,26 +29,27 @@ BuildRequires:
golang(github.com/kr/pretty)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
%patch0 -p1
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}/example
-
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
+%gochecks
%files devel -f devel.file-list
%license LICENSE
%doc README.md
%changelog
+* Fri Jun 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.gite17e998
+- Upload glide.lock and glide.yaml
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20120716gite17e998
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index bab916d..5b8f32f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d2f547eb79ccf92ef62c0e712740c71 assert-e17e998.tar.gz
+SHA512 (assert-e17e99893cb6509f428e1728281c2ad60a6b31e3.tar.gz) =
851d4a15bf15533f558697422c109cbf2c160014e09d45fb1abe73cde1517794fcfcad6d667b8af5ce57d079c344efca8bf73a7eaf9fe252e6ae22245078951a
commit eac4e7c7102691a5e6fd3b6434506ad1b0d7eb5a
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:54:12 2018 +0100
Exclude example test
diff --git a/golang-github-bmizerany-assert.spec b/golang-github-bmizerany-assert.spec
index e4a8bc1..c795416 100644
--- a/golang-github-bmizerany-assert.spec
+++ b/golang-github-bmizerany-assert.spec
@@ -39,7 +39,7 @@ building other packages which use import path with
%goinstall
%check
-%gochecks
+%gochecks %{gobaseipath}/example
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
commit 42435ead5df37047316fc2aa5834064fea545ffb
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:44:13 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-bmizerany-assert.spec b/golang-github-bmizerany-assert.spec
index 9b2e833..e4a8bc1 100644
--- a/golang-github-bmizerany-assert.spec
+++ b/golang-github-bmizerany-assert.spec
@@ -1,160 +1,57 @@
-%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 bmizerany
-%global repo assert
#
https://github.com/bmizerany/assert
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/bmizerany/assert
+%global gobaseipath %{provider_prefix}
%global commit e17e99893cb6509f428e1728281c2ad60a6b31e3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20120716
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
Summary: Assertions for Go tests
License: MIT
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Patch0: add-license.path
-# 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}
BuildRequires:
golang(github.com/kr/pretty)
-%endif
-
-Requires:
golang(github.com/kr/pretty)
-
-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}
+%gosetup
%patch0 -p1
-%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.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
%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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20120716gite17e998
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.11.gite17e998
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild