The package rpms/golang-github-twpayne-geom.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-twpayne-geom.git/co....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit 38cef7a8b12442843adbcd496d28235a7ace2654
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Jan 30 16:13:15 2021 +0100
Enable tests for x86_64 only because of rounding errors
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
diff --git a/golang-github-twpayne-geom.spec b/golang-github-twpayne-geom.spec
index 2af5107..f699ce7 100644
--- a/golang-github-twpayne-geom.spec
+++ b/golang-github-twpayne-geom.spec
@@ -1,5 +1,8 @@
# Generated by go2rpm 1.3
+# Rounding errors
+%ifarch x86_64
%bcond_without check
+%endif
#
https://github.com/twpayne/go-geom
%global goipath
github.com/twpayne/go-geom
commit 7cffc438dcc701464c0ee738a6559688e8ddd793
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Jan 30 15:54:04 2021 +0100
Initial import
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9577a13
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/go-geom-1.3.6.tar.gz
diff --git a/golang-github-twpayne-geom.spec b/golang-github-twpayne-geom.spec
new file mode 100644
index 0000000..2af5107
--- /dev/null
+++ b/golang-github-twpayne-geom.spec
@@ -0,0 +1,55 @@
+# Generated by go2rpm 1.3
+%bcond_without check
+
+#
https://github.com/twpayne/go-geom
+%global goipath
github.com/twpayne/go-geom
+Version: 1.3.6
+
+%gometa
+
+%global common_description %{expand:
+Package Geom implements efficient geometry types for geospatial applications.}
+
+%global golicenses LICENSE
+%global godocs examples INTERNALS.md README.md
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Efficient geometry types for geospatial applications
+
+# Upstream license specification: BSD-2-Clause
+License: BSD
+URL: %{gourl}
+Source0: %{gosource}
+
+BuildRequires:
golang(github.com/lib/pq)
+BuildRequires:
golang(github.com/twpayne/go-kml)
+
+%if %{with check}
+# Tests
+BuildRequires:
golang(github.com/DATA-DOG/go-sqlmock)
+BuildRequires:
golang(github.com/stretchr/testify/assert)
+BuildRequires:
golang(github.com/stretchr/testify/require)
+%endif
+
+%description
+%{common_description}
+
+%gopkg
+
+%prep
+%goprep
+
+%install
+%gopkginstall
+
+%if %{with check}
+%check
+%gocheck
+%endif
+
+%gopkgfiles
+
+%changelog
+* Thu Jan 28 23:28:58 CET 2021 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.3.6-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..9ba924f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (go-geom-1.3.6.tar.gz) =
6c9d444108ce40374279556c2d1258abcc6cbc7b2823879cf11b551da9dbf23b113f9fc0f48fb900344fe78a7a42a07eb2620ae604ce712f47e88f3d22473eed