From 5b8daffa676732cd5fbbeab71fce90a1bd822359 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 31 Jul 2025 07:27:03 -0700 Subject: [PATCH] fix(copyparty): Deps (#5982) (#5984) (cherry picked from commit 9fbe2a9d549a2fed5f09c3ff48d83b40f68696d2) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/tools/copyparty/copyparty.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/anda/tools/copyparty/copyparty.spec b/anda/tools/copyparty/copyparty.spec index 474f03e03e..81a23d427f 100644 --- a/anda/tools/copyparty/copyparty.spec +++ b/anda/tools/copyparty/copyparty.spec @@ -2,15 +2,18 @@ Name: %{pypi_name} Version: 1.18.8 -Release: 1%?dist +Release: 2%?dist Summary: Portable, featureful, and fast file server URL: https://github.com/9001/copyparty Source0: %{pypi_source} License: MIT +# For EVR macro +BuildRequires: anda-srpm-macros BuildRequires: python3-devel python3-pip pyproject-rpm-macros BuildRequires: python3dist(wheel) python3dist(build) python3dist(jinja2) BuildRequires: python3dist(setuptools) python3dist(installer) Requires: python3 +Requires: python3-%{name} = %{evr} Suggests: ffmpeg python3dist(fuse) BuildArch: noarch Packager: Riley Loo @@ -21,7 +24,9 @@ FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no (runtime) deps (other than Python itself) %package -n python3-%{pypi_name} +Requires: python3 Summary: %{summary} +Requires: %{name} = %{evr} %description -n python3-%{pypi_name}