From 80c8f105b43b575dc1019c380320d545bbfc3992 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Wed, 17 Oct 2018 08:12:39 +0100 Subject: [PATCH] Move Docs and licence to libs so it's provided in any package combination --- ffmpeg.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index c8b222f..5c932a8 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -379,7 +379,6 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir} %if 0%{!?_without_tools:1} %files -%doc COPYING.* CREDITS README.md %{_bindir}/ffmpeg%{?progs_suffix} %{_bindir}/ffplay%{?progs_suffix} %{_bindir}/ffprobe%{?progs_suffix} @@ -393,6 +392,8 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir} %endif %files libs +%doc CREDITS README.md +%license COPYING.* %{_libdir}/lib*.so.* %exclude %{_libdir}/libavdevice%{?build_suffix}.so.* %{!?flavor:%{_mandir}/man3/lib*.3.*