The package rpms/golang-github-transip-gotransip.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-transip-gotransip.g....
Change:
+%ifnarch %{arm} %{ix86}
Thanks.
Full change:
============
commit 4d9a0e7a41c42925f9457fbecb40858093eae388
Author: Carl George <carl(a)george.computer>
Date: Fri Feb 22 09:57:16 2019 -0600
Skip tests on 32bit architectures
diff --git a/golang-github-transip-gotransip.spec b/golang-github-transip-gotransip.spec
index 61c2b36..189227a 100644
--- a/golang-github-transip-gotransip.spec
+++ b/golang-github-transip-gotransip.spec
@@ -6,14 +6,21 @@ Version: 5.8.1
This is the Go client for the TransIP API. To use it you need an account with
TransIP, enable API usage and setup a private API key.}
+%ifnarch %{arm} %{ix86}
+#
https://github.com/transip/gotransip/issues/11
+%bcond_without tests
+%endif
+
Name: %{goname}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: TransIP API client for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
+%if %{with tests}
BuildRequires:
golang(github.com/stretchr/testify/assert)
+%endif
%description
@@ -40,8 +47,10 @@ the %{goipath} Go namespace.
%goinstall
+%if %{with tests}
%check
%gochecks
+%endif
%files devel -f devel.file-list
@@ -50,5 +59,8 @@ the %{goipath} Go namespace.
%changelog
+* Fri Feb 22 2019 Carl George <carl(a)george.computer> - 5.8.1-2
+- Skip tests on 32bit architectures
+
* Mon Feb 11 2019 Carl George <carl(a)george.computer> - 5.8.1-1
- Initial package
commit c1fc3378226b42a284d00548e749dfe20d689c00
Author: Carl George <carl(a)george.computer>
Date: Mon Feb 18 15:50:14 2019 -0600
Initial package
https://bugzilla.redhat.com/show_bug.cgi?id=1675937
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..daa318c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gotransip-*.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 4687991..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# golang-github-transip-gotransip
-
-TransIP API client for Go
\ No newline at end of file
diff --git a/golang-github-transip-gotransip.spec b/golang-github-transip-gotransip.spec
new file mode 100644
index 0000000..61c2b36
--- /dev/null
+++ b/golang-github-transip-gotransip.spec
@@ -0,0 +1,54 @@
+%global goipath
github.com/transip/gotransip
+Version: 5.8.1
+%gometa
+
+%global common_description %{expand:
+This is the Go client for the TransIP API. To use it you need an account with
+TransIP, enable API usage and setup a private API key.}
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: TransIP API client for Go
+License: MIT
+URL: %{gourl}
+Source0: %{gosource}
+
+BuildRequires:
golang(github.com/stretchr/testify/assert)
+
+
+%description
+%{common_description}
+
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+
+%description devel
+%{common_description}
+
+This package contains the source code needed for building packages that import
+the %{goipath} Go namespace.
+
+
+%prep
+%forgeautosetup
+
+
+%install
+%goinstall
+
+
+%check
+%gochecks
+
+
+%files devel -f devel.file-list
+%license LICENSE
+%doc README.md
+
+
+%changelog
+* Mon Feb 11 2019 Carl George <carl(a)george.computer> - 5.8.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e4dbe6d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gotransip-5.8.1.tar.gz) =
f7100e8c32f02a94a2c10ca89d393463ca870cd0002f4a3f3f0d8afb47556ce233d5d559f20a55aeef6793ddd3382ddadae4ba2672d22e05410e55143abc7ead