The package rpms/kitty.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/kitty.git/commit/?id=4ecce33e52d2....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit d38747d791b47ff77c5f8105757d311ce1c678fb
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Tue Mar 24 19:15:15 2020 +0200
Add link to upstream bug
diff --git a/kitty.spec b/kitty.spec
index 42b651d..c85a666 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -6,6 +6,9 @@ Name: kitty
Version: 0.17.1
Release: 2%{?dist}
Summary: Cross-platform, fast, feature full, GPU based terminal emulator
+
+# Tests not passed on s390x arch
+# *
https://github.com/kovidgoyal/kitty/issues/2473
ExcludeArch: s390x
# BSD: docs/_templates/searchbox.html
commit 4ecce33e52d2923809cead1b4111e6b5a1eb1c19
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Tue Mar 24 19:08:27 2020 +0200
Drop sedding build flags. Not needed anymore.
Fix build step as upstream recommended
Do not exclude ppc64le arch anymore
diff --git a/kitty.spec b/kitty.spec
index 0775721..42b651d 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -4,12 +4,9 @@
Name: kitty
Version: 0.17.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cross-platform, fast, feature full, GPU based terminal emulator
-
-# 0.17.1 won't compile on ppc64le arch
-# *
https://github.com/kovidgoyal/kitty/issues/2471
-ExcludeArch: s390x ppc64le
+ExcludeArch: s390x
# BSD: docs/_templates/searchbox.html
# zlib: glfw/
@@ -87,6 +84,7 @@ Suggests: ImageMagick%{?_isa}
- Has multiple copy/paste buffers, like vim.
+# terminfo package
%package terminfo
Summary: The terminfo file for Kitty Terminal
BuildArch: noarch
@@ -99,6 +97,7 @@ Cross-platform, fast, feature full, GPU based terminal emulator.
The terminfo file for Kitty Terminal.
+# doc package
%package doc
Summary: Documentation for %{name}
@@ -122,21 +121,9 @@ sed -e "s/f.endswith('\.so')/f.endswith('\.so')
or f.endswith('\.py')/g" -i setu
# script-without-shebang '__init__.py'
find -type f -name "*.py*" -exec chmod -x "{}" \;
-# Disable native optimizations
-sed -i 's|native_optimizations=True|native_optimizations=False|' setup.py
-
-# Use default for Fedora -O2 optimizations
-sed -i 's|-O3|-O2|g' setup.py
-
-
-%build
-%set_build_flags
-
-# Project using custom build scripts :(
-%{__python3} setup.py build
-
%install
+%set_build_flags
%{__python3} setup.py linux-package \
--libdir-name=%{_lib} \
--prefix=%{buildroot}%{_prefix} \
@@ -179,6 +166,11 @@ desktop-file-validate
%{buildroot}/%{_datadir}/applications/*.desktop
%changelog
+* Tue Mar 24 2020 Artem Polishchuk <ego.cordatus(a)gmail.com> - 0.17.1-2
+- Drop sedding build flags. Not needed anymore.
+- Fix build step as upstream recommended
+- Do not exclude ppc64le arch anymore
+
* Tue Mar 24 2020 Artem Polishchuk <ego.cordatus(a)gmail.com> - 0.17.1-1
- Update to 0.17.1