The package rpms/golang-github-spf13-cast.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-spf13-cast.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 468ce2db1b4338aa123962e1cdf259bd797e679a
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Fri Jan 18 04:08:05 2019 -0500
Update to latest tagged release.
diff --git a/.gitignore b/.gitignore
index bc9137f..2cf70d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cast-e31f36f.tar.gz
+/cast-1.3.0.tar.gz
diff --git a/golang-github-spf13-cast.spec b/golang-github-spf13-cast.spec
index de4323b..5c3972a 100644
--- a/golang-github-spf13-cast.spec
+++ b/golang-github-spf13-cast.spec
@@ -1,14 +1,12 @@
#
https://github.com/spf13/cast
%global provider_prefix
github.com/spf13/cast
%global goipath %{provider_prefix}
-%global commit e31f36ffc91a2ba9ddb72a4b6a607ff9b3d3cb63
-%global commitdate 20160730
+Version: 1.3.0
%gometa
Name: %{goname}
-Version: 0
-Release: 0.14.%{commitdate}git%{shortcommit}%{?dist}
+Release: 1%{?dist}
Summary: Safe and easy casting from one type to another in Go
License: MIT
URL: %{gourl}
@@ -49,6 +47,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Fri Jan 18 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 1.3.0-1
+- Update to latest tagged release
+
* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org>
- 0-0.14.20160730git%{shortcommit}
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
diff --git a/sources b/sources
index 8fa285e..689ee7f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cast-e31f36f.tar.gz) =
3621bea71ae3e3f665fadbbed4b5adc16f9b985154a07f544f28d1d530268d13e5ea1e268785d89da01d46c9703fa0a991b21fca2cc74090846db311a7ee8783
+SHA512 (cast-1.3.0.tar.gz) =
4cd15f59860fddbb67055beb15dfb8114ecaad5999a8fb46fbbbdea1cf78eaa094a4893c10b97efc7d2f95509920688659d609623135bf9871e6229043452194
commit a1da8471eab62b8a393f224b3132bc012e3605fb
Author: Nicolas Mailhot <nim(a)fedoraproject.org>
Date: Tue Oct 23 23:11:16 2018 +0200
redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
diff --git a/golang-github-spf13-cast.spec b/golang-github-spf13-cast.spec
index f82572e..de4323b 100644
--- a/golang-github-spf13-cast.spec
+++ b/golang-github-spf13-cast.spec
@@ -1,14 +1,14 @@
#
https://github.com/spf13/cast
%global provider_prefix
github.com/spf13/cast
-%global gobaseipath %{provider_prefix}
+%global goipath %{provider_prefix}
%global commit e31f36ffc91a2ba9ddb72a4b6a607ff9b3d3cb63
%global commitdate 20160730
-%gocraftmeta -i
+%gometa
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14.%{commitdate}git%{shortcommit}%{?dist}
Summary: Safe and easy casting from one type to another in Go
License: MIT
URL: %{gourl}
@@ -33,7 +33,7 @@ building other packages which use import path with
%{gobaseipath} prefix.
%prep
-%gosetup
+%forgesetup
%install
%goinstall
@@ -49,6 +49,11 @@ building other packages which use import path with
%doc README.md
%changelog
+* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org>
+- 0-0.14.20160730git%{shortcommit}
+- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
+-
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit d2b2b7b6e998874b78ef7687f331910b95e1fc12
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 04:08:24 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-spf13-cast.spec b/golang-github-spf13-cast.spec
index 2098b1f..f82572e 100644
--- a/golang-github-spf13-cast.spec
+++ b/golang-github-spf13-cast.spec
@@ -8,7 +8,7 @@
Name: %{goname}
Version: 0
-Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: Safe and easy casting from one type to another in Go
License: MIT
URL: %{gourl}
@@ -49,6 +49,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Tue Feb 27 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20160730gite31f36f
- Autogenerate some parts using the new macros
commit 60c088012cfd0f849f79f421e0f09ba9399570b5
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue Feb 27 10:43:56 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-spf13-cast.spec b/golang-github-spf13-cast.spec
index cf5131c..2098b1f 100644
--- a/golang-github-spf13-cast.spec
+++ b/golang-github-spf13-cast.spec
@@ -1,168 +1,57 @@
-# 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
-%global with_check 1
-# 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 spf13
-%global repo cast
#
https://github.com/spf13/cast
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/spf13/cast
+%global gobaseipath %{provider_prefix}
%global commit e31f36ffc91a2ba9ddb72a4b6a607ff9b3d3cb63
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160730
-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: Safe and easy casting from one type to another in Go
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 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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires:
golang(github.com/spf13/jwalterweatherman)
-%endif
-
-Requires:
golang(github.com/spf13/jwalterweatherman)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
+# Tests deps
+BuildRequires:
golang(github.com/stretchr/testify/assert)
%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 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-BuildRequires:
golang(github.com/stretchr/testify/assert)
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires:
golang(github.com/stretchr/testify/assert)
-
-%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
-%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
+* Tue Feb 27 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20160730gite31f36f
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.11.gite31f36f
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild