From 99338f318cd4a086c32569df26babebc27935ae3 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 24 Dec 2021 15:23:52 +0000 Subject: [PATCH] Boolean dependencies are only fedora --- mpv.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mpv.spec b/mpv.spec index 24e4c2c..b452fe5 100644 --- a/mpv.spec +++ b/mpv.spec @@ -91,7 +91,12 @@ Provides: %{name}-master = %{version}-100 Requires: hicolor-icon-theme Provides: mplayer-backend +%if 0%{?fedora} +# Boolean dependencies are only fedora Recommends: (yt-dlp or youtube-dl) +%else +Recommends: youtube-dl +%endif %description Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety