The package rpms/golang-github-jacobsa-oglematchers.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-jacobsa-oglematcher....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 8d0b3ea54275d49f4744c208ab07a9a9769b229c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jul 8 18:40:03 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 2665a38..08c063d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/oglematchers-3ecefc4.tar.gz
+/oglematchers-3ecefc49db07722beca986d9bb71ddd026b133f0.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..ba4df32
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 439e39ae72913a25d0e2543f5c7448abe77914a62e6bbda883690d069fb2cd44
+imports: []
+updated: '2018-07-08T16:39:31.015651+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..b202ef1
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/jacobsa/oglematchers
+
diff --git a/golang-github-jacobsa-oglematchers.spec
b/golang-github-jacobsa-oglematchers.spec
index 878c2fd..4c085f1 100644
--- a/golang-github-jacobsa-oglematchers.spec
+++ b/golang-github-jacobsa-oglematchers.spec
@@ -1,18 +1,20 @@
#
http://github.com/jacobsa/oglematchers
-%global provider_prefix
github.com/jacobsa/oglematchers
-%global gobaseipath %{provider_prefix}
+
+%global goipath
github.com/jacobsa/oglematchers
%global commit 3ecefc49db07722beca986d9bb71ddd026b133f0
-%global commitdate 20150320
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: Set of matchers for Go (inspired by Google Test for C++ and Google JS
Test)
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,17 +30,16 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-# Missing deps
-#%%gochecks
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -48,6 +49,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sun Jul 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.git3ecefc4
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20150320git3ecefc4
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 1558b0a..20c9c27 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2128d89333a316aeead520e2594f6b2d oglematchers-3ecefc4.tar.gz
+SHA512 (oglematchers-3ecefc49db07722beca986d9bb71ddd026b133f0.tar.gz) =
0f4064025c2b05e33ed8b52f89b29f836439b6587740933407e56b6b1c449a737f0917aad54f9fc574af11553256f319b8a2daad5dbb02e8610b85e6d2088216
commit 4bfd1e1c45a01982b764fb70f364b5fe035d2ec0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 23:48:04 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-jacobsa-oglematchers.spec
b/golang-github-jacobsa-oglematchers.spec
index e7e5480..878c2fd 100644
--- a/golang-github-jacobsa-oglematchers.spec
+++ b/golang-github-jacobsa-oglematchers.spec
@@ -1,153 +1,56 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# tests introduces cyclic dependency among 3 projects
-%global with_check 0
-# missing two additional dependencies
-%global with_unit_test 0
-%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 jacobsa
-%global repo oglematchers
-#
https://github.com/jacobsa/oglematchers
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/jacobsa/oglematchers
+%global provider_prefix
github.com/jacobsa/oglematchers
+%global gobaseipath %{provider_prefix}
%global commit 3ecefc49db07722beca986d9bb71ddd026b133f0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150320
-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: Set of matchers for Go (inspired by Google Test for C++ and Google JS
Test)
License: ASL 2.0
-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/jacobsa/ogletest)
-%endif
-
-#Requires:
golang(github.com/jacobsa/ogletest)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
+# BuildRequires:
golang(github.com/jacobsa/ogletest)
%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}
-
-%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}
-
-%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
-%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-devel.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
-
-%gotest %{import_path}
-%endif
+# Missing deps
+#%%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-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20150320git3ecefc4
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.9.git3ecefc4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild