diff --git a/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec b/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec index d59b619012..645e9236bb 100644 --- a/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec +++ b/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec @@ -1,6 +1,6 @@ Name: python-yt-dlp-ejs Version: 0.3.1 -Release: 1%?dist +Release: 2%?dist Summary: External JavaScript for yt-dlp supporting many runtimes License: Unlicense AND MIT AND ISC @@ -23,6 +23,7 @@ BuildRequires: (deno or bun or nodejs-npm) %package -n python3-yt-dlp-ejs Summary: %{summary} Provides: yt-dlp-ejs = %evr +Requires: (deno or bun or nodejs-npm) %description -n python3-yt-dlp-ejs %_description diff --git a/anda/tools/yt-dlp-ejs/update.rhai b/anda/tools/yt-dlp-ejs/update.rhai index ae886fe4bd..b79a194753 100644 --- a/anda/tools/yt-dlp-ejs/update.rhai +++ b/anda/tools/yt-dlp-ejs/update.rhai @@ -1 +1 @@ -rpm.version(pypi("yt-dlp-ejs")); +rpm.version(find("yt-dlp-ejs==([\\d.]+)", gh_rawfile("yt-dlp/yt-dlp", "master", "pyproject.toml"), 1)); diff --git a/anda/tools/yt-dlp/yt-dlp-git.spec b/anda/tools/yt-dlp/yt-dlp-git.spec index 358b33f251..ef3ad899c9 100644 --- a/anda/tools/yt-dlp/yt-dlp-git.spec +++ b/anda/tools/yt-dlp/yt-dlp-git.spec @@ -3,14 +3,14 @@ Name: yt-dlp-git Version: 2025.11.12.004747 -Release: 1%?dist +Release: 2%?dist Summary: A command-line program to download videos from online video platforms License: Unlicense URL: https://github.com/yt-dlp/yt-dlp BuildArch: noarch Packager: madonuko -Requires: deno +Recommends: (deno or bun or nodejs-npm) BuildRequires: python3-devel BuildRequires: python3dist(hatchling)