From 99338f318cd4a086c32569df26babebc27935ae3 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 24 Dec 2021 15:23:52 +0000 Subject: [PATCH 1/2] 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 From db849791c577bd989626306433bf8116c28cb35d Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 24 Dec 2021 15:25:30 +0000 Subject: [PATCH 2/2] Update changelog --- mpv.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpv.spec b/mpv.spec index b452fe5..1d3e385 100644 --- a/mpv.spec +++ b/mpv.spec @@ -1,6 +1,6 @@ Name: mpv Version: 0.34.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ Summary: Movie player playing most video formats and DVDs @@ -180,6 +180,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Dec 24 2021 Leigh Scott - 0.34.0-3 +- Boolean dependencies are only fedora + * Tue Nov 09 2021 Leigh Scott - 0.34.0-2 - Rebuilt for new ffmpeg snapshot