The package rpms/golang-github-rivo-tview.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-rivo-tview.git/comm....
Change:
+%ifnarch %{ix86}
Thanks.
Full change:
============
commit c7913063ab80e82f66ae9da418993be18b2a4eb8
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon May 9 19:46:53 2022 +0200
Examples binaries are not needed
diff --git a/golang-github-rivo-tview.spec b/golang-github-rivo-tview.spec
index 07548d8..92736aa 100644
--- a/golang-github-rivo-tview.spec
+++ b/golang-github-rivo-tview.spec
@@ -1,5 +1,8 @@
# Generated by go2rpm 1.6.0
+# int overflow
+%ifnarch %{ix86}
%bcond_without check
+%endif
#
https://github.com/rivo/tview
%global goipath
github.com/rivo/tview
@@ -35,26 +38,14 @@ BuildRequires:
golang(github.com/rivo/uniseg)
%prep
%goprep
-%build
-for cmd in demos/frame demos/treeview demos/inputfield/autocomplete demos/table
demos/flex demos/checkbox demos/box demos/button demos/unicode
demos/inputfield/autocompleteasync demos/pages demos/modal demos/presentation
demos/textview demos/inputfield demos/dropdown demos/grid demos/primitive demos/form
demos/table/virtualtable demos/list; do
- %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
-done
-
%install
%gopkginstall
-install -m 0755 -vd %{buildroot}%{_bindir}
-install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
-%files
-%license LICENSE.txt
-%doc CONTRIBUTING.md README.md
-%{_bindir}/*
-
%gopkgfiles
%changelog
commit ca304c2c835d14b51aa8a6ad12d70bb83279ac97
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon May 9 19:20:31 2022 +0200
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fe8a369
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tview-9994674d60a85d2c18e2192ef58195fff743091f.tar.gz
diff --git a/golang-github-rivo-tview.spec b/golang-github-rivo-tview.spec
new file mode 100644
index 0000000..07548d8
--- /dev/null
+++ b/golang-github-rivo-tview.spec
@@ -0,0 +1,61 @@
+# Generated by go2rpm 1.6.0
+%bcond_without check
+
+#
https://github.com/rivo/tview
+%global goipath
github.com/rivo/tview
+%global commit 9994674d60a85d2c18e2192ef58195fff743091f
+
+%gometa
+
+%global common_description %{expand:
+Terminal UI library with rich, interactive widgets — written in Golang.}
+
+%global golicenses LICENSE.txt
+%global godocs CONTRIBUTING.md README.md
+
+Name: %{goname}
+Version: 0
+Release: %autorelease -p
+Summary: Terminal UI library with rich, interactive widgets — written in Golang
+
+License: MIT
+URL: %{gourl}
+Source0: %{gosource}
+
+BuildRequires:
golang(github.com/gdamore/tcell/v2)
+BuildRequires:
golang(github.com/lucasb-eyer/go-colorful)
+BuildRequires:
golang(github.com/mattn/go-runewidth)
+BuildRequires:
golang(github.com/rivo/uniseg)
+
+%description
+%{common_description}
+
+%gopkg
+
+%prep
+%goprep
+
+%build
+for cmd in demos/frame demos/treeview demos/inputfield/autocomplete demos/table
demos/flex demos/checkbox demos/box demos/button demos/unicode
demos/inputfield/autocompleteasync demos/pages demos/modal demos/presentation
demos/textview demos/inputfield demos/dropdown demos/grid demos/primitive demos/form
demos/table/virtualtable demos/list; do
+ %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
+done
+
+%install
+%gopkginstall
+install -m 0755 -vd %{buildroot}%{_bindir}
+install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
+
+%if %{with check}
+%check
+%gocheck
+%endif
+
+%files
+%license LICENSE.txt
+%doc CONTRIBUTING.md README.md
+%{_bindir}/*
+
+%gopkgfiles
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5db464c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tview-9994674d60a85d2c18e2192ef58195fff743091f.tar.gz) =
4aab8bc4fa9810c081c002bbc1c94b940a7d89ab9d46aca3bfd4e0aee2890bbd3291249a675eb340076f469ebf908b3211bcb1fac389de180365d2ab9503abdc