%global forgeurl https://gitlab.com/fedora/sigs/go/go2rpm %define tag v%{version} Name: go2rpm Version: 1.17.1^20251002.012852.10.31cea5b %forgemeta Release: 1 Summary: Convert Go packages to RPM License: MIT URL: %{forgeurl} Source: go2rpm-1.17.1^20251002.012852.10.31cea5b.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: askalono-cli Requires: compiler(go-compiler) # Enforce a minimum version of go-vendor-tools Requires: (go2rpm+vendor if go-vendor-tools) # Recommend go2rpm all extra that includes packages needed for the vendor # profile Recommends: go2rpm+all %description Convert Go packages to RPM. %prep %autosetup %generate_buildrequires %pyproject_buildrequires -x all,test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} %check %pytest -m "not network" %files -f %{pyproject_files} %license LICENSE %doc README.md %doc NEWS.md %{_bindir}/%{name} %pyproject_extras_subpkg -n go2rpm all vendor %changelog * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012852.10.31cea5b-1 - Temporarily revert "Set %%date when using --commit" * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012727.9.61e20c4-1 - ci: temporarily disable python3.14 tests * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.8.f4a5b21-1 - lint: enable type checking * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.7.3699196-1 - Add additional directories to command discovery excludes * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.6.7b0ef93-1 - dev: enable testing on Python 3.13 and 3.14 * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.5.9cb707d-1 - dev: set explicit tests directory in pyproject * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.4.1389ec9-1 - Avoid recreating git.Repo in every function * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012726.3.7d6722a-1 - Set %%date when using --commit * Thu Oct 02 2025 Maxwell G - 1.17.1^20251002.012530.2.e882a19-1 - Include explicit list of commands instead of a glob * Thu Jul 17 2025 Maxwell G - 1.17.1^20250717.020241.1.c98e5ad-1 - Post release version bump