From 528599f4c894bfb5106fe05aeb53a3a3dbb4fc1ce7586e0095188a37093be4b2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 5 Nov 2023 10:23:36 +0000 Subject: [PATCH] - Make yt-dlp require the one pythonXX-yt-dlp that /usr/bin/yt-dlp was built with. OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=79 --- yt-dlp.changes | 6 ++++++ yt-dlp.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/yt-dlp.changes b/yt-dlp.changes index 614638b..b0bb99b 100644 --- a/yt-dlp.changes +++ b/yt-dlp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 5 10:22:29 UTC 2023 - Jan Engelhardt + +- Make yt-dlp require the one pythonXX-yt-dlp that /usr/bin/yt-dlp + was built with. + ------------------------------------------------------------------- Fri Oct 27 07:27:07 UTC 2023 - Daniel Garcia diff --git a/yt-dlp.spec b/yt-dlp.spec index ed2e34d..23c3edb 100644 --- a/yt-dlp.spec +++ b/yt-dlp.spec @@ -34,7 +34,8 @@ BuildRequires: make >= 4 BuildRequires: python-rpm-macros BuildRequires: zip BuildArch: noarch -Requires: python3-yt-dlp +# %%primary_python not available in Leap yet +Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g') %define python_subpackage_only 1 %python_subpackages