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
This commit is contained in:
Ondřej Súkup 2019-06-27 08:40:36 +00:00 committed by Git OBS Bridge
parent f969e9780e
commit ce1fb76a7e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 26 18:24:44 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- enable build of doc for Leap 15.1+
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 11 03:23:45 UTC 2019 - mvetter@suse.com Tue Jun 11 03:23:45 UTC 2019 - mvetter@suse.com

View File

@ -42,7 +42,7 @@ BuildRequires: pkgconfig(dbus-1)
# for 'tic' # for 'tic'
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if 0%{?suse_version} > 1500 %if 0%{?sle_version} > 150000 || 0%{?suse_version} >= 1550
BuildRequires: python3-Sphinx >= 1.7 BuildRequires: python3-Sphinx >= 1.7
%endif %endif
BuildRequires: python3-devel >= 3.5 BuildRequires: python3-devel >= 3.5
@ -59,7 +59,7 @@ bracketed paste and so on, and which can be controlled by scripts.
%prep %prep
%setup -q %setup -q
%if 0%{?sle_version} == 150000 && 0%{?is_opensuse} %if 0%{?sle_version} <= 150000 && ! (0%{?suse_version} >= 1550)
%patch0 -p1 %patch0 -p1
%endif %endif
@ -84,7 +84,7 @@ python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
%dir %{_datadir}/icons/hicolor/256x256/ %dir %{_datadir}/icons/hicolor/256x256/
%{_datadir}/icons/hicolor/256x256/apps/ %{_datadir}/icons/hicolor/256x256/apps/
%{_datadir}/terminfo/x/xterm-kitty %{_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} %{_mandir}/man1/kitty.1%{?ext_man}
%{_datadir}/doc/kitty %{_datadir}/doc/kitty
%endif %endif