From ce1fb76a7e1981b54713bacf89a7189b08588018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 27 Jun 2019 08:40:36 +0000 Subject: [PATCH] Accepting request 712169 from home:mimi_vx:branches:X11:terminals - enable build of doc for Leap 15.1+ OBS-URL: https://build.opensuse.org/request/show/712169 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=25 --- kitty.changes | 5 +++++ kitty.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/kitty.changes b/kitty.changes index 90ab2e7..c4d736d 100644 --- a/kitty.changes +++ b/kitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 26 18:24:44 UTC 2019 - Ondřej Súkup + +- enable build of doc for Leap 15.1+ + ------------------------------------------------------------------- Tue Jun 11 03:23:45 UTC 2019 - mvetter@suse.com diff --git a/kitty.spec b/kitty.spec index 0f6ba88..620b383 100644 --- a/kitty.spec +++ b/kitty.spec @@ -42,7 +42,7 @@ BuildRequires: pkgconfig(dbus-1) # for 'tic' BuildRequires: ncurses-devel BuildRequires: pkgconfig -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150000 || 0%{?suse_version} >= 1550 BuildRequires: python3-Sphinx >= 1.7 %endif BuildRequires: python3-devel >= 3.5 @@ -59,7 +59,7 @@ bracketed paste and so on, and which can be controlled by scripts. %prep %setup -q -%if 0%{?sle_version} == 150000 && 0%{?is_opensuse} +%if 0%{?sle_version} <= 150000 && ! (0%{?suse_version} >= 1550) %patch0 -p1 %endif @@ -84,7 +84,7 @@ python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix} %dir %{_datadir}/icons/hicolor/256x256/ %{_datadir}/icons/hicolor/256x256/apps/ %{_datadir}/terminfo/x/xterm-kitty -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150000 || 0%{?suse_version} >= 1550 %{_mandir}/man1/kitty.1%{?ext_man} %{_datadir}/doc/kitty %endif