From 2404d394db59e451863e44adb43a70702d81cae3b8e56636f099e20d27fc7e3d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 27 Oct 2023 07:49:33 +0000 Subject: [PATCH] Accepting request 1120736 from home:dgarcia:branches:network:utilities - Use python_subpackage_only to build the pythonXXX-yt-dlp subpackages. OBS-URL: https://build.opensuse.org/request/show/1120736 OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=77 --- yt-dlp.changes | 6 ++++++ yt-dlp.spec | 15 ++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/yt-dlp.changes b/yt-dlp.changes index a7ee08a..614638b 100644 --- a/yt-dlp.changes +++ b/yt-dlp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 27 07:27:07 UTC 2023 - Daniel Garcia + +- Use python_subpackage_only to build the pythonXXX-yt-dlp + subpackages. + ------------------------------------------------------------------- Wed Oct 25 03:06:38 UTC 2023 - Jan Engelhardt diff --git a/yt-dlp.spec b/yt-dlp.spec index 9e71869..ed2e34d 100644 --- a/yt-dlp.spec +++ b/yt-dlp.spec @@ -34,13 +34,8 @@ BuildRequires: make >= 4 BuildRequires: python-rpm-macros BuildRequires: zip BuildArch: noarch -Requires: ffmpeg Requires: python3-yt-dlp -Suggests: python-Brotli -Suggests: python-certifi -Suggests: python-mutagen -Suggests: python-pycryptodomex -Suggests: python-websockets +%define python_subpackage_only 1 %python_subpackages %description @@ -77,6 +72,12 @@ ZSH command line completion support for yt-dlp. %package -n python-yt-dlp Summary: yt-dlp Python library Group: Development/Languages/Python +Requires: ffmpeg +Suggests: python-Brotli +Suggests: python-certifi +Suggests: python-mutagen +Suggests: python-pycryptodomex +Suggests: python-websockets %description -n python-yt-dlp The direct Python interface into yt-dlp. @@ -114,7 +115,7 @@ rm -Rf "$b/%_datadir/doc" %files -n yt-dlp-zsh-completion %_datadir/zsh/ -%files %python_files +%files %{python_files yt-dlp} %python_sitelib/y* %changelog