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