Accepting request 1120746 from network:utilities

- Use python_subpackage_only to build the pythonXXX-yt-dlp
  subpackages.

OBS-URL: https://build.opensuse.org/request/show/1120746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=32
This commit is contained in:
Ana Guerrero 2023-10-27 20:28:52 +00:00 committed by Git OBS Bridge
commit e96fdb0d89
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 27 07:27:07 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Use python_subpackage_only to build the pythonXXX-yt-dlp
subpackages.
-------------------------------------------------------------------
Wed Oct 25 03:06:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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