From eb99d6a52f2aefb2db24b3eb36164cc70972e81b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Aug 27 2020 09:14:39 +0000 Subject: Update to latest version. --- diff --git a/.gitignore b/.gitignore index 76257c4..4eafe68 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /tcell-1.1.4.tar.gz /tcell-1.2.0.tar.gz /tcell-1.3.0.tar.gz +/tcell-1.4.0.tar.gz diff --git a/golang-github-gdamore-tcell.spec b/golang-github-gdamore-tcell.spec index 01e855b..99faa99 100644 --- a/golang-github-gdamore-tcell.spec +++ b/golang-github-gdamore-tcell.spec @@ -3,7 +3,7 @@ # https://github.com/gdamore/tcell %global goipath github.com/gdamore/tcell -Version: 1.3.0 +Version: 1.4.0 %gometa @@ -15,7 +15,7 @@ xterm. It was inspired by termbox, but includes many additional improvements.} %global godocs AUTHORS README.adoc Name: %{goname} -Release: 4%{?dist} +Release: 1%{?dist} Summary: Alternate terminal package # Upstream license specification: Apache-2.0 @@ -36,6 +36,7 @@ BuildRequires: golang(golang.org/x/text/encoding/traditionalchinese) >= 0.3.0 BuildRequires: golang(golang.org/x/text/transform) >= 0.3.0 # These are all needed for rebuilding the terminfo database. +BuildRequires: kitty BuildRequires: ncurses BuildRequires: ncurses-base BuildRequires: ncurses-term @@ -48,14 +49,17 @@ BuildRequires: rxvt-unicode %prep %goprep -rm -rf terminfo/database terminfo/term_*.go -mkdir terminfo/database +rm terminfo/?/*/term.go +sed -i 's/go run mkinfo.go/$1/g' terminfo/gen.sh +# Add missing models. +echo alacritty >> terminfo/models.txt +echo xterm-kitty >> terminfo/models.txt %build # Rebuild database from source. %gobuild -o %{gobuilddir}/bin/mkinfo terminfo/mkinfo.go pushd terminfo -%{gobuilddir}/bin/mkinfo -all +bash gen.sh %{gobuilddir}/bin/mkinfo popd %install @@ -76,6 +80,10 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %gopkgfiles %changelog +* Thu Aug 27 2020 Elliott Sales de Andrade - 1.4.0-1 +- Update to latest version +- Fix regeneration of terminfo + * Sat Aug 01 2020 Fedora Release Engineering - 1.3.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 7237ea4..8bcbe1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tcell-1.3.0.tar.gz) = 9e5b941df504e9687922249e41d00545b6719b06f077030870e0685ea8301dff596b49a56704d1c14b223d1e5b67fb0ef5af424061b3e3dc0fe5b6621ff775c0 +SHA512 (tcell-1.4.0.tar.gz) = 3a31b011402f99e5a7a75574269dee1d222f112dabfca39969add64edb1f254d2d0cd922efbc66c047886153c30c23d2a88c7be872d25ad8015874d2af7137a4