The package rpms/golang-github-onsi-ginkgo.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-onsi-ginkgo.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit e77c2a58f6484e963afd1cb7901ca13e66af1506
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Jun 20 13:03:26 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index c61e6e0..a666b26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/ginkgo-7f8ab55.tar.gz
+/ginkgo-7f8ab55aaf3b86885aa55b762e803744d1674700.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..b2de9f3
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 61d6c65d9382bb58c44aced0be6d02719dea1070b16c6d4fe7015a85784a11f2
+imports: []
+updated: '2018-06-20T11:03:00.218437+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..fbf680f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/onsi/ginkgo
+
diff --git a/golang-github-onsi-ginkgo.spec b/golang-github-onsi-ginkgo.spec
index 79d61f3..d6719ae 100644
--- a/golang-github-onsi-ginkgo.spec
+++ b/golang-github-onsi-ginkgo.spec
@@ -1,213 +1,58 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0
condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply
a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-# Cyclic deps between gomaga and ginkgo
-%global with_check 0
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%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 onsi
-%global repo ginkgo
-#
https://github.com/onsi/ginkgo
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/onsi/ginkgo
+
+%global goipath
github.com/onsi/ginkgo
%global commit 7f8ab55aaf3b86885aa55b762e803744d1674700
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 1.1.0
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: A Golang BDD Testing Framework
License: MIT
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
# Upstream fix for aarch64 a0fde42
Patch1: 0001-Add-linux_arm64-support.patch
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{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}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/config) = %{version}-%{release}
-Provides: golang(%{import_path}/extensions/table) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/convert) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/interrupthandler) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/nodot) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/testrunner) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/testsuite) = %{version}-%{release}
-Provides: golang(%{import_path}/ginkgo/watch) = %{version}-%{release}
-Provides: golang(%{import_path}/integration) = %{version}-%{release}
-Provides: golang(%{import_path}/reporters) = %{version}-%{release}
-Provides: golang(%{import_path}/reporters/stenographer) = %{version}-%{release}
-Provides: golang(%{import_path}/types) = %{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 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-BuildRequires:
golang(github.com/onsi/gomega)
-BuildRequires:
golang(github.com/onsi/gomega/gbytes)
-BuildRequires:
golang(github.com/onsi/gomega/gexec)
-BuildRequires:
golang(github.com/onsi/gomega/ghttp)
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires:
golang(github.com/onsi/gomega)
-Requires:
golang(github.com/onsi/gomega/gbytes)
-Requires:
golang(github.com/onsi/gomega/gexec)
-Requires:
golang(github.com/onsi/gomega/ghttp)
-
-%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}
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%patch1 -p1 -b .arm64
-%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" -or -iname "*.s" \) \! -iname
"*_test.go") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-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-devel.file-list
-for file in $(find . -iname "*_test.go") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >>
unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall glide.lock glide.yaml
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/ginkgo/nodot
-%gotest %{import_path}/ginkgo/testsuite
-%gotest %{import_path}/integration
-%gotest %{import_path}/internal/codelocation
-%gotest %{import_path}/internal/containernode
-%gotest %{import_path}/internal/failer
-%gotest %{import_path}/internal/leafnodes
-%gotest %{import_path}/internal/remote
-%gotest %{import_path}/internal/spec
-%gotest %{import_path}/internal/specrunner
-%gotest %{import_path}/internal/suite
-%gotest %{import_path}/internal/writer
-%gotest %{import_path}/reporters
-%gotest %{import_path}/types
-%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 CHANGELOG.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test-devel.file-list
-%license LICENSE
-%doc CHANGELOG.md README.md
-%endif
%changelog
+* Wed Jun 20 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.0-16.git7f8ab55
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-15
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index af015be..64f37e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ginkgo-7f8ab55.tar.gz) =
4d9209f8b309005b12f3b830fb1e7b9527ebb39d81c8b24ea5b25aa98752b3a621172c77272af8b3a7a5a12fb2f2321f68b3c1c5209f0668006ffd1f516ac0b7
+SHA512 (ginkgo-7f8ab55aaf3b86885aa55b762e803744d1674700.tar.gz) =
617e6730e401872cd152020c801dd81a8a5c734d28e6e3bf4db46c5c16ff88ccb67bbbe6b9124479fac319af00deaac11e909542de0a61920e82ffa4ba87eab5