chore(proton-vpn-local-agent): Use python3 macros (#10887) (#10891)

No release bump because not user facing.


(cherry picked from commit af266d5616)

Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
Raboneko
2026-03-29 02:45:51 -07:00
committed by GitHub
parent 28e2d8b20d
commit b2c64696a9
@@ -1,5 +1,4 @@
%define debug_package %{nil}
%define __python /usr/bin/python3
%global pypi_name proton-vpn-local-agent
%global _desc Proton VPN local agent written in Rust.
@@ -44,12 +43,12 @@ popd
%install
pushd %{name}
install -Dm0644 target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{python_sitearch}/proton/vpn/local_agent.so
install -Dm0644 target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{python3_sitearch}/proton/vpn/local_agent.so
popd
%files -n python3-%{pypi_name}
%doc README.md CODEOWNERS
%{python_sitearch}/proton/vpn/local_agent.so
%{python3_sitearch}/proton/vpn/local_agent.so
%changelog
* Sun Jan 18 2026 Owen Zimmerman <owen@fyralabs.com>