The package rpms/golang-github-linode-linodego.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-linode-linodego.git....
Change:
+%ifnarch %{ix86} %{arm}
Thanks.
Full change:
============
commit 9462666e849e6e5295dd1269ad8fccd35bee5c32
Author: Carl George <carl(a)george.computer>
Date: Tue Dec 4 16:13:40 2018 -0600
Skip tests on 32bit architectures
diff --git a/golang-github-linode-linodego.spec b/golang-github-linode-linodego.spec
index fe4be2d..b97811d 100644
--- a/golang-github-linode-linodego.spec
+++ b/golang-github-linode-linodego.spec
@@ -2,15 +2,21 @@
Version: 0.7.0
%gometa
+%ifnarch %{ix86} %{arm}
+%bcond_without tests
+%endif
+
Name: %{goname}
Release: 1%{?dist}
Summary: Go client for Linode REST v4 API
License: MIT
URL: %{gourl}
Source0: %{gosource}
+%if %{with tests}
BuildRequires:
golang(github.com/dnaeon/go-vcr/recorder)
BuildRequires:
golang(golang.org/x/oauth2)
BuildRequires: golang(gopkg.in/resty.v1)
+%endif
%description
@@ -37,11 +43,13 @@ the %{goipath} Go namespace.
%goinstall
+%if %{with tests}
%check
# environment variables to use the API response fixtures
export LINODE_FIXTURE_MODE=play
export LINODE_TOKEN=awesometokenawesometokenawesometoken
%gochecks
+%endif
%files devel -f devel.file-list
@@ -52,6 +60,7 @@ export LINODE_TOKEN=awesometokenawesometokenawesometoken
%changelog
* Tue Dec 04 2018 Carl George <carl(a)george.computer> - 0.7.0-1
- Latest upstream
+- Skip tests on 32bit architectures
* Tue Nov 27 2018 Carl George <carl(a)george.computer> - 0.6.2-1
- Initial package
commit 7d472dbdfdb5d4b17c9f9c28e40e29aa3aa5166b
Author: Carl George <carl(a)george.computer>
Date: Tue Dec 4 16:13:21 2018 -0600
Latest upstream 0.7.0
diff --git a/golang-github-linode-linodego.spec b/golang-github-linode-linodego.spec
index 202340d..fe4be2d 100644
--- a/golang-github-linode-linodego.spec
+++ b/golang-github-linode-linodego.spec
@@ -1,5 +1,5 @@
%global goipath
github.com/linode/linodego
-Version: 0.6.2
+Version: 0.7.0
%gometa
Name: %{goname}
@@ -50,5 +50,8 @@ export LINODE_TOKEN=awesometokenawesometokenawesometoken
%changelog
+* Tue Dec 04 2018 Carl George <carl(a)george.computer> - 0.7.0-1
+- Latest upstream
+
* Tue Nov 27 2018 Carl George <carl(a)george.computer> - 0.6.2-1
- Initial package
diff --git a/sources b/sources
index f04dfcc..1a5ad65 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (linodego-0.6.2.tar.gz) =
a9c59f5d8ab505399ec2dffb5fb3340b2bc3d72d91fc964e1ad7dc0e57bcf3eaad06ac79f3cd0d08a7301ab448c6f87b4c5b0d9e6211b9ce11bd1bceb3b173a7
+SHA512 (linodego-0.7.0.tar.gz) =
0323b7bfbc576ab80b88dc5fd18a41d6bef19e5b84885f4d71bf96139b53bc8e8233d1af2cb2866fc784042e498437c943c09baa8ae55d8ed87f728d95b1dad0
commit c0902db586f5a2e45119096eab8952dc5043cb4c
Author: Carl George <carl(a)george.computer>
Date: Fri Nov 30 15:23:30 2018 -0600
Initial import rhbz#1654043
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5e0b31d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+linodego-*.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 66d39ce..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# golang-github-linode-linodego
-
-Go client for Linode REST v4 API
\ No newline at end of file
diff --git a/golang-github-linode-linodego.spec b/golang-github-linode-linodego.spec
new file mode 100644
index 0000000..202340d
--- /dev/null
+++ b/golang-github-linode-linodego.spec
@@ -0,0 +1,54 @@
+%global goipath
github.com/linode/linodego
+Version: 0.6.2
+%gometa
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Go client for Linode REST v4 API
+License: MIT
+URL: %{gourl}
+Source0: %{gosource}
+BuildRequires:
golang(github.com/dnaeon/go-vcr/recorder)
+BuildRequires:
golang(golang.org/x/oauth2)
+BuildRequires: golang(gopkg.in/resty.v1)
+
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+
+%description devel
+%{summary}.
+
+This package contains the source code needed for building packages that import
+the %{goipath} Go namespace.
+
+
+%prep
+%forgeautosetup
+
+
+%install
+%goinstall
+
+
+%check
+# environment variables to use the API response fixtures
+export LINODE_FIXTURE_MODE=play
+export LINODE_TOKEN=awesometokenawesometokenawesometoken
+%gochecks
+
+
+%files devel -f devel.file-list
+%license LICENSE
+%doc README.md
+
+
+%changelog
+* Tue Nov 27 2018 Carl George <carl(a)george.computer> - 0.6.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f04dfcc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (linodego-0.6.2.tar.gz) =
a9c59f5d8ab505399ec2dffb5fb3340b2bc3d72d91fc964e1ad7dc0e57bcf3eaad06ac79f3cd0d08a7301ab448c6f87b4c5b0d9e6211b9ce11bd1bceb3b173a7