The package rpms/golang-github-gdamore-encoding.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-gdamore-encoding.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 0bedc527c1a27ee12ed775aedce46cd3995a9027
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Mon Jan 14 04:00:02 2019 -0500
Update to first tagged version.
diff --git a/.gitignore b/.gitignore
index 38315f5..9814051 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/encoding-b23993c.tar.gz
/encoding-b23993cbb6353f0e6aa98d0ee318a34728f628b9.tar.gz
+/encoding-1.0.0.tar.gz
diff --git a/golang-github-gdamore-encoding.spec b/golang-github-gdamore-encoding.spec
index 5717d52..acdc5b1 100644
--- a/golang-github-gdamore-encoding.spec
+++ b/golang-github-gdamore-encoding.spec
@@ -1,5 +1,5 @@
%global goipath
github.com/gdamore/encoding
-%global commit b23993cbb6353f0e6aa98d0ee318a34728f628b9
+Version: 1.0.0
%gometa
@@ -18,8 +18,7 @@ UTF-8.
}
Name: %{goname}
-Version: 0
-Release: 0.5%{?dist}
+Release: 1%{?dist}
Summary: Various character map encodings missing from
golang.org/x/net/encoding
License: ASL 2.0
URL: %{gourl}
@@ -35,7 +34,6 @@ BuildArch: noarch
BuildRequires:
golang(golang.org/x/text/encoding)
BuildRequires:
golang(golang.org/x/text/transform)
-BuildRequires:
golang(github.com/smartystreets/goconvey/convey)
%description devel
%{common_description}
@@ -62,6 +60,9 @@ which use import path with %{goipath} prefix.
%changelog
+* Mon Jan 14 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 1.0.0-1
+- Update to first tagged release
+
* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org>
- 0-0.5
- 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 9d3b37e..a576d64 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (encoding-b23993cbb6353f0e6aa98d0ee318a34728f628b9.tar.gz) =
35f504dd79323199ada46a85a8a10203fa604eec00f934d340f947be6d173ef77bb8795ff7a598bbb13364c3a1a2e62ab7240796ec8702741f22fea1f25df8bb
+SHA512 (encoding-1.0.0.tar.gz) =
7ddfa1f796a32e7c69185e862a633513f1ff8a53dfb9333d4c4902a4f545ad570aa37e9faf473206465a487ae243d6003583d56c932ed99230f0ee5f87e6d49e
commit 474bcb4162c3e1a0bddae46d127b4958b9e8c60c
Author: Nicolas Mailhot <nim(a)fedoraproject.org>
Date: Tue Oct 23 22:48:02 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-gdamore-encoding.spec b/golang-github-gdamore-encoding.spec
index 1ca03ea..5717d52 100644
--- a/golang-github-gdamore-encoding.spec
+++ b/golang-github-gdamore-encoding.spec
@@ -19,7 +19,7 @@ UTF-8.
Name: %{goname}
Version: 0
-Release: 0.4%{?dist}
+Release: 0.5%{?dist}
Summary: Various character map encodings missing from
golang.org/x/net/encoding
License: ASL 2.0
URL: %{gourl}
@@ -45,7 +45,7 @@ which use import path with %{goipath} prefix.
%prep
-%gosetup -q
+%forgesetup
%install
@@ -62,6 +62,11 @@ which use import path with %{goipath} prefix.
%changelog
+* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org>
+- 0-0.5
+- 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> -
0-0.4.gitb23993c
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit 15826e3bf573ac41b0daff0d84c09c2e62e850ec
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 03:33:48 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-gdamore-encoding.spec b/golang-github-gdamore-encoding.spec
index dda2065..1ca03ea 100644
--- a/golang-github-gdamore-encoding.spec
+++ b/golang-github-gdamore-encoding.spec
@@ -19,7 +19,7 @@ UTF-8.
Name: %{goname}
Version: 0
-Release: 0.3%{?dist}
+Release: 0.4%{?dist}
Summary: Various character map encodings missing from
golang.org/x/net/encoding
License: ASL 2.0
URL: %{gourl}
@@ -62,6 +62,9 @@ which use import path with %{goipath} prefix.
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.4.gitb23993c
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Thu Jun 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> -
0-0.3.20180607gitb23993c
- Re-template against More Go Packaging guidelines
commit 91637a49c7b7a93e84f182791cb0ce7eda04f7ee
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Thu Jun 7 02:08:52 2018 -0400
Re-template against More Go Packaging guidelines.
diff --git a/.gitignore b/.gitignore
index d3117f9..38315f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/encoding-b23993c.tar.gz
+/encoding-b23993cbb6353f0e6aa98d0ee318a34728f628b9.tar.gz
diff --git a/golang-github-gdamore-encoding.spec b/golang-github-gdamore-encoding.spec
index 1581f1f..dda2065 100644
--- a/golang-github-gdamore-encoding.spec
+++ b/golang-github-gdamore-encoding.spec
@@ -1,195 +1,75 @@
-# 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 gdamore
-%global repo encoding
-#
https://github.com/gdamore/encoding
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global goipath
github.com/gdamore/encoding
%global commit b23993cbb6353f0e6aa98d0ee318a34728f628b9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20151215
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
-Summary: Various character map encodings missing from
golang.org/x/net/encoding
-License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%gometa
+
+%global common_description %{expand:
+Package encoding provides a number of encodings that are missing from the
+standard Go encoding package.
-# 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}
+We hope that we can contribute these to the standard Go library someday. It
+turns out that some of these are useful for dealing with I/O streams coming
+from non-UTF friendly sources.
+The UTF8 Encoder is also useful for situations where valid UTF-8 might be
+carried in streams that contain non-valid UTF; in particular I use it for
+helping me cope with terminals that embed escape sequences in otherwise valid
+UTF-8.
+}
+Name: %{goname}
+Version: 0
+Release: 0.3%{?dist}
+Summary: Various character map encodings missing from
golang.org/x/net/encoding
+License: ASL 2.0
+URL: %{gourl}
+Source0: %{gosource}
%description
-%{summary}
+%{common_description}
+
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(golang.org/x/text/encoding)
BuildRequires:
golang(golang.org/x/text/transform)
-%endif
-
-Requires:
golang(golang.org/x/text/encoding)
-Requires:
golang(golang.org/x/text/transform)
-
-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-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}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/smartystreets/goconvey/convey)
-%endif
-Requires:
golang(github.com/smartystreets/goconvey/convey)
+%description devel
+%{common_description}
-%description unit-test-devel
-%{summary}
+This package contains library source intended for building other packages
+which use import path with %{goipath} prefix.
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
%prep
-%setup -q -n %{repo}-%{commit}
-
-%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
-
-%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
+%gosetup -q
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%install
+%goinstall
-%gotest %{import_path}
-%endif
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
+%check
+%gochecks
-%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
+* Thu Jun 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> -
0-0.3.20180607gitb23993c
+- Re-template against More Go Packaging guidelines
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.2.20151215gitb23993c
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-* Sat Aug 19 2017 Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
0-0.1.20151215gitb23993c
+* Sat Aug 19 2017 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> -
0-0.1.20151215gitb23993c
- Add commit date to revision
-* Fri Aug 18 2017 Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
0-0.1.gitb23993c
+* Fri Aug 18 2017 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> -
0-0.1.gitb23993c
- Initial package for Fedora
diff --git a/sources b/sources
index b17b01c..9d3b37e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (encoding-b23993c.tar.gz) =
35f504dd79323199ada46a85a8a10203fa604eec00f934d340f947be6d173ef77bb8795ff7a598bbb13364c3a1a2e62ab7240796ec8702741f22fea1f25df8bb
+SHA512 (encoding-b23993cbb6353f0e6aa98d0ee318a34728f628b9.tar.gz) =
35f504dd79323199ada46a85a8a10203fa604eec00f934d340f947be6d173ef77bb8795ff7a598bbb13364c3a1a2e62ab7240796ec8702741f22fea1f25df8bb