%global gomodulesmode GO111MODULE=on Name: python3-eduvpn-common Version: 5.0.1 Release: 1%{?dist} Summary: Python3 eduvpn-common wrapper License: MIT URL: https://codeberg.org/eduVPN/eduvpn-common Source0: eduvpn-common-%{version}.tar.xz BuildRequires: gcc BuildRequires: golang BuildRequires: minisign BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: go-rpm-macros %description The python wrapper for the eduVPN common Go shared library %prep %setup -qn eduvpn-common-%{version} %build # build the Go component export CGO_ENABLED=1 %gobuild -o lib/libeduvpn_common-%{version}.so "-buildmode=c-shared" ./exports # build the Python component pushd wrappers/python %py3_build popd %install install -m 0755 -D -p lib/libeduvpn_common-%{version}.so %{buildroot}%{_libdir}/libeduvpn_common-%{version}.so pushd wrappers/python %py3_install popd %files %{_libdir}/* %{python3_sitelib}/eduvpn_common/ %{python3_sitelib}/eduvpn_common-%{version}* %changelog * Wed Mar 18 2026 Jeroen Wijenbergh - 5.0.1-1 - New version * Tue Mar 17 2026 Jeroen Wijenbergh - 5.0.0-1 - New version * Thu Oct 09 2025 Jeroen Wijenbergh - 4.0.0-1 - update to 4.0.0 * Thu Apr 17 2025 jwijenbergh - 3.0.0-1 - update to 3.0.0 * Thu Oct 31 2024 jwijenbergh - 2.1.0-2 - rebuilt * Tue Jul 30 2024 jwijenbergh - 2.1.0-1 - update to 2.1.0 * Tue Jun 25 2024 jwijenbergh - 2.0.2-1 - update to 2.0.2 * Thu Jun 06 2024 Jeroen Wijenbergh - 2.0.1-1 - update to 2.0.1 * Wed Jun 05 2024 Jeroen Wijenbergh - 2.0.0-1 - update to 2.0.0 * Fri May 24 2024 Jeroen Wijenbergh - 1.2.1-1 - update to 1.2.1 * Fri Dec 08 2023 Jeroen Wijenbergh - 1.2.0-1 - update to 1.2.0 * Fri Sep 01 2023 Jeroen Wijenbergh - 1.1.2-1 - update to 1.1.2 * Tue Aug 29 2023 Jeroen Wijenbergh - 1.1.1-1 - update to 1.1.1 * Tue Apr 18 2023 Jeroen Wijenbergh - 1.1.0-1 - update to 1.1.0 * Wed Mar 01 2023 Jeroen Wijenbergh - 1.0.0-1 - initial package