python-proton-vpn-local-agent

Edit Package python-proton-vpn-local-agent
https://github.com/ProtonVPN/local-agent-rs

Proton VPN local agent written in Rust

Source Files
Filename Size Changed
1.4.5.tar.gz 0000050279 49.1 KB
_service 0000000271 271 Bytes
python-proton-vpn-local-agent.changes 0000001441 1.41 KB
python-proton-vpn-local-agent.spec 0000002299 2.25 KB
vendor.tar.zst 0025957449 24.8 MB
Comments 2

Hiroyuki Saito's avatar

Hello, I am a user of openSUSE Tumbleweed. I modified the spec file to resolve the symbolic error with local_agent.so that occurred during installation. I hope this helps you. Thank you.

--- old/python-proton-vpn-local-agent.spec  2025-03-27 16:03:48.518929902 +0900
+++ new/python-proton-vpn-local-agent.spec  2025-03-27 16:29:36.616807300 +0900
@@ -52,15 +52,16 @@
 popd

 %install
+install -Dm0644 %{_builddir}/local-agent-rs-%{version}/%{_name}/target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{_libdir}/proton/local_agent.so
 %if %{?suse_version} >= 1600
 for p in python3.11 python3.12 python3.13; do
 %else
 for p in python3.11; do
 %endif
 install -d %{buildroot}%{_libdir}/$p/site-packages/{proton,proton/vpn};
-ln -s %{_builddir}/local-agent-rs-%{version}/%{_name}/target/release/libpython_proton_vpn_local_agent.so  %{buildroot}%{_libdir}/$p/site-packages/proton/vpn/local_agent.so;
+cd %{buildroot}%{_libdir}/$p/site-packages/proton/vpn
+ln -s ../../../../proton/local_agent.so .
 done
-install -Dm0644 %{_builddir}/local-agent-rs-%{version}/%{_name}/target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{_libdir}/proton/local_agent.so

 %files %{python_files}
 %doc README.md

Alexandre Vicenzi's avatar

The package has been updated, see if you still have issues. If you do, open an issue at https://bugzilla.opensuse.org/.

openSUSE Build Service is sponsored by