# Vendor rewrap of the RPM Proton AG publishes in their official Fedora # repository (repo.protonvpn.com/fedora-44-stable) — upstream ships the RPM, # so a rewrap is the sanctioned path. The payload is re-installed verbatim # (rpm2cpio extract) EXCEPT the python trees, which are relocated onto the # python3_sitelib/python3_sitearch macros: the upstream RPMs are built for # Fedora 44's python3.14 and must land in the buildroot python's # site-packages dir on every chroot we build (the .so in api-core is abi3, # the pure-python trees are version-agnostic). Stale upstream __pycache__ # is stripped — brp is off for these (foreign payload) and the dist-info # metadata drives the python(abi) deps from the relocated paths. # Versioned by the custom sweep feed: ProtonVPN/proton-vpn-daemon tags, HEAD-probing # the official repo RPM URL zotero-style so a tag whose RPM build has not # landed yet never bumps the spec. %global pv_fc 44 %global pv_rel 1 %global debug_package %{nil} %global _build_id_links none %global __os_install_post %{nil} Name: proton-vpn-daemon Version: 0.13.8 Release: 1%{?dist} Summary: Proton VPN root daemon (split tunneling D-Bus service) License: GPL-3.0-or-later URL: https://github.com/ProtonVPN/proton-vpn-daemon BuildArch: noarch #!RemoteAsset Source0: https://repo.protonvpn.com/fedora-%{pv_fc}-stable/%{name}/%{name}-%{version}-%{pv_rel}.fc%{pv_fc}.noarch.rpm BuildRequires: systemd-rpm-macros BuildRequires: python3-devel BuildRequires: python-srpm-macros Requires: python3-bcc Requires: python3-dbus-fast Requires: python3-packaging Requires: python3-proton-vpn-api-core >= 5.3.1 Requires: python3-psutil Requires: python3-systemd Requires: systemd Requires: wireguard-tools %description The Proton VPN daemon: split-tunneling D-Bus service consumed by the GUI app and CLI. Repacked from Proton's official Fedora repository. %prep mkdir -p extract cd extract rpm2cpio %{_sourcedir}/%{name}-%{version}-%{pv_rel}.fc%{pv_fc}.noarch.rpm | cpio -idm --quiet test -d usr/lib/python3.14/site-packages/proton/vpn/daemon %install %__rm -rf %{buildroot} mkdir -p %{buildroot}%{python3_sitelib} %{buildroot}%{_prefix} %{buildroot}%{_sysconfdir} cp -a extract/usr/lib/python3.14/site-packages/proton %{buildroot}%{python3_sitelib}/ cp -a extract/usr/lib/python3.14/site-packages/proton_vpn_daemon-*.dist-info %{buildroot}%{python3_sitelib}/ cp -a extract/usr/lib/systemd %{buildroot}%{_prefix}/lib/ cp -a extract/etc/. %{buildroot}%{_sysconfdir}/ find %{buildroot} -name __pycache__ -type d -exec rm -rf {} + 2>/dev/null || : %post %systemd_post me.proton.vpn.split_tunneling.service %preun %systemd_preun me.proton.vpn.split_tunneling.service %postun %systemd_postun me.proton.vpn.split_tunneling.service %files %{python3_sitelib}/proton/ %{python3_sitelib}/proton_vpn_daemon-*/ %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/system.d %dir %{_sysconfdir}/dbus-1/system-services %config(noreplace) %{_sysconfdir}/dbus-1/system.d/me.proton.vpn.split_tunneling.conf %{_sysconfdir}/dbus-1/system-services/me.proton.vpn.split_tunneling.service %{_unitdir}/me.proton.vpn.split_tunneling.service %changelog * Wed Sep 30 2026 halcyon-autoupdate - 0.13.8-1 - initial package: vendor rewrap of the official repo.protonvpn.com RPM