commit 3e05bbec0692bd5eca3811d1b28e7aa7eac6cc29 Author: Jan Palus <at...@pld-linux.org> Date: Sat Jul 13 23:54:24 2024 +0200
up to 2024.07.09 yt-dlp.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) --- diff --git a/yt-dlp.spec b/yt-dlp.spec index 382e76b..e5ee9c0 100644 --- a/yt-dlp.spec +++ b/yt-dlp.spec @@ -1,18 +1,18 @@ Summary: A youtube-dl fork with additional features and fixes Name: yt-dlp -Version: 2023.12.30 +Version: 2024.07.09 Release: 1 License: Public Domain Group: Applications/System Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: ce9c0953adea8a95bc8b62dca0f653c1 +# Source0-md5: a401a94712b5b15f1a446cf9c7e04c1f URL: https://github.com/yt-dlp/yt-dlp -BuildRequires: python3 >= 1:3.7 -BuildRequires: python3-modules >= 1:3.7 +BuildRequires: python3 >= 1:3.8 +BuildRequires: python3-modules >= 1:3.8 BuildRequires: python3-setuptools BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.720 -Requires: python3-modules >= 1:3.7 +Requires: python3-modules >= 1:3.8 Requires: python3-setuptools Requires: python3-%{name} = %{version}-%{release} Suggests: ffmpeg @@ -27,6 +27,7 @@ also keeping up to date with the original project. %package -n python3-%{name} Summary: Python 3 video extraction utility for YouTube Group: Libraries/Python +Requires: python3-modules >= 1:3.8 Requires: python3-pyxattr >= 0.5.0 %description -n python3-%{name} @@ -35,6 +36,11 @@ Python 3 video extraction utility for YouTube. %prep %setup -q +cat > setup.py <<EOF +from setuptools import setup, find_packages +setup(version='%{version}', packages=find_packages(include=['yt_dlp', 'yt_dlp.*'])) +EOF + %build %py3_build ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/yt-dlp.git/commitdiff/3e05bbec0692bd5eca3811d1b28e7aa7eac6cc29 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit