From 09aad60fdbb60745b7709d70c33e1414d8c07220 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 27 Jan 2026 08:29:04 -0600 Subject: [PATCH] fix (proton-vpn-local-agent): Provides (#9508) --- .../proton-vpn-local-agent/proton-vpn-local-agent.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec b/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec index 98bba73ec6..85ab7c735b 100644 --- a/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec +++ b/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 1.6.0 -Release: 1%?dist +Release: 2%?dist Summary: Proton VPN local agent written in Rust License: GPL-3.0-only URL: https://github.com/ProtonVPN/local-agent-rs @@ -14,6 +14,9 @@ Source0: %url/archive/refs/tags/%version.tar.gz BuildRequires: python3-devel BuildRequires: cargo-rpm-macros +# Really cursed but there is no pyproject.toml or setup.py in this package to auto-provide this, and proton-vpn needs this +Provides: python3.14dist(proton-vpn-local-agent) + Packager: Owen Zimmerman %description @@ -40,12 +43,11 @@ popd %install pushd %{name} -install -Dm0644 target/rpm/libpython_proton_vpn_local_agent.so %{buildroot}%{_libdir}/proton/local_agent.so +install -Dm0644 target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{_libdir}/proton/local_agent.so popd %files -n python3-%{pypi_name} %doc README.md CODEOWNERS -%dir %{_libdir}/proton %{_libdir}/proton/local_agent.so %changelog