From 5d4f910c0a3d5a9e555f1bde813755ac3ade1f66e70fc0f7802aeb7dc91da088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 May 2017 14:02:59 +0000 Subject: [PATCH] - Remove the pdf build, it is same as manpage - Switch to python3 subpkgs as we use python3 anyway (Fixes TW build) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=95 --- mpv.changes | 6 ++++++ mpv.spec | 10 +--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/mpv.changes b/mpv.changes index c748cc7..ca427f8 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 2 14:02:12 UTC 2017 - tchvatal@suse.com + +- Remove the pdf build, it is same as manpage +- Switch to python3 subpkgs as we use python3 anyway (Fixes TW build) + ------------------------------------------------------------------- Sun Apr 23 15:42:03 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 23d2eea..cc5871c 100644 --- a/mpv.spec +++ b/mpv.spec @@ -48,7 +48,7 @@ BuildRequires: lua BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig -BuildRequires: python-docutils +BuildRequires: python3-docutils BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: pkgconfig(alsa) @@ -102,10 +102,8 @@ Recommends: youtube-dl Provides: mplayer2 = 20140101 Obsoletes: mplayer2 < 20140101 BuildRoot: %{_tmppath}/%{name}-%{version}-build -# PDF manual. # JIT for lua. %if 0%{?suse_version} > 1320 -BuildRequires: python-rst2pdf %ifarch aarch64 %{ix86} x86_64 BuildRequires: pkgconfig(luajit) %endif @@ -221,9 +219,6 @@ export CCFLAGS="%{optflags}" --enable-zsh-comp \ --enable-manpage-build \ --enable-libarchive \ -%if 0%{?suse_version} > 1320 - --enable-pdf-build \ -%endif ${myopts} ./waf build --verbose %{?_smp_mflags} @@ -256,9 +251,6 @@ install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf %files %defattr(-,root,root) -%if 0%{?suse_version} > 1320 -%doc build/DOCS/man/mpv.pdf -%endif %doc Copyright LICENSE README.md RELEASE_NOTES %doc %{_defaultdocdir}/%{name}/input.conf %doc %{_defaultdocdir}/%{name}/mplayer-input.conf