From ef79955d0419522bd1ebc2a925a1c4f3f6148f68 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Apr 19 2021 14:19:16 +0000 Subject: build(update): 0.20.0 --- diff --git a/.gitignore b/.gitignore index f923bfe..819c4cb 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /kitty-0.19.1.tar.gz /kitty-0.19.2.tar.gz /kitty-0.19.3.tar.gz +/kitty-0.20.0.tar.gz diff --git a/kitty.spec b/kitty.spec index 2e8368e..5ecb23f 100644 --- a/kitty.spec +++ b/kitty.spec @@ -1,3 +1,5 @@ +%bcond_without test + %if 0%{?fedora} %bcond_without doc %else @@ -5,8 +7,8 @@ %endif Name: kitty -Version: 0.19.3 -Release: 2%{?dist} +Version: 0.20.0 +Release: 1%{?dist} Summary: Cross-platform, fast, feature full, GPU based terminal emulator # BSD: docs/_templates/searchbox.html @@ -14,6 +16,7 @@ Summary: Cross-platform, fast, feature full, GPU based terminal emulator License: GPLv3 and zlib and BSD URL: https://sw.kovidgoyal.net/kitty Source0: https://github.com/kovidgoyal/kitty/archive/v%{version}/%{name}-%{version}.tar.gz + # allow skipping documentation build # (EPEL8's Sphinx is too old and does not have sphinx-build) Patch0: kitty-0.18.3-no_sphinx.diff @@ -30,7 +33,13 @@ BuildRequires: ncurses BuildRequires: python3-devel >= 3.6 BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel + +%if %{with test} +BuildRequires: kitty +%endif + BuildRequires: python3dist(setuptools) + BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gl) @@ -118,10 +127,6 @@ This package contains the documentation for %{name}. %prep %autosetup -p1 -# test_multiprocessing_spawn not passed in 0.18.2 -# * https://github.com/kovidgoyal/kitty/issues/2881 -rm kitty_tests/tui.py - # Replace python shebangs to make them compatible with fedora find -type f -name "*.py" -exec sed -e 's|/usr/bin/env python3|%{__python3}|g' \ -e 's|/usr/bin/env python|%{__python3}|g' \ @@ -154,8 +159,10 @@ rm %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo \ %check +%if %{with test} %{__python3} setup.py test \ --prefix=%{buildroot}%{_prefix} +%endif appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop @@ -168,7 +175,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/*.png %{_libdir}/%{name}/ %if %{with doc} -%{_mandir}/man1/* +%{_mandir}/man1/*.1* %endif %{_metainfodir}/*.xml @@ -186,6 +193,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop %changelog +* Mon Apr 19 2021 Artem Polishchuk - 0.20.0-1 +- build(update): 0.20.0 + * Tue Jan 26 2021 Fedora Release Engineering - 0.19.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 657b8c6..0398de2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kitty-0.19.3.tar.gz) = 225b7a4409c5199d556bd57f4253074608a6d3602d874082c991d13e5db73b7dd68e549d954e5a77fb271f4d2c5fa9a3de45a48247e2f3f162af0b9946628990 +SHA512 (kitty-0.20.0.tar.gz) = e5c4e7b3e414e7356baf6fb742de54dfd7ef77a24ef3b2c8f2e473b2a3c8d51cd84209b714430d93dabcf28ca5083d2725271a9cd3e61ca11cea7be26091b1b8