## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://gitlab.com/fedora/sigs/go/go2rpm %define tag v%{version} Name: go2rpm Version: 1.15.0 %forgemeta Release: %autorelease Summary: Convert Go packages to RPM License: MIT URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch BuildRequires: python3-devel Requires: askalono-cli Requires: compiler(go-compiler) # Recommend go2rpm all extra that includes packages needed for the vendor # profile Recommends: go2rpm+all %description Convert Go packages to RPM. %prep %autosetup %{forgesetupargs} %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 ## START: Generated by rpmautospec * Sat Dec 14 2024 Mikel Olasagasti Uranga - 1.15.0-1 - Update to 1.15.0 - Closes rhbz#2332247 * Thu Jul 18 2024 Fedora Release Engineering - 1.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 30 2024 Robert-André Mauchin - 1.14.0-1 - Update to 1.14.0 * Fri Jun 14 2024 Maxwell G - 1.13.1-1 - Update to 1.13.1. * Wed Apr 10 2024 Maxwell G - 1.12.0-2 - Include README and NEWS in %%doc * Thu Mar 28 2024 Maxwell G - 1.12.0-1 - Update to 1.12.0. * Tue Feb 20 2024 Maxwell G - 1.11.0-1 - Update to 1.11.0. * Wed Jan 24 2024 Fedora Release Engineering - 1.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Oct 28 2023 Robert-André Mauchin - 1.10.0-1 - Update to 1.10.0 * Wed Jul 19 2023 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 1.9.0-2 - Rebuilt for Python 3.12 * Wed Feb 08 2023 Maxwell G - 1.9.0-1 - Update to 1.9.0. * Thu Jan 19 2023 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 27 2022 Maxwell G - 1.8.2-1 - Update to 1.8.2. - specfile template: Use uppercase AND as the license delimiter as per SPDX spec * Tue Aug 09 2022 Maxwell G - 1.8.1-1 - Update to 1.8.1. * Mon Aug 08 2022 Maxwell G - 1.8.0-1 - Update to 1.8.0. * Sun Aug 07 2022 Robert-André Mauchin - 1.7.0-2 - Fix typo * Sat Aug 06 2022 Robert-André Mauchin - 1.7.0-1 - Update to 1.7.0 * Thu Jul 21 2022 Fedora Release Engineering - 1.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.6.1-3 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 15 2022 Robert-André Mauchin - 1.6.1-1 - Update to 1.6.1 * Thu Jan 13 2022 Robert-André Mauchin - 1.6.0-1 - Update to 1.6.0 * Sun Jul 25 2021 Robert-André Mauchin - 1.5.0-3 - Fix dist tag for rpmautospec * Sun Jul 25 2021 Robert-André Mauchin - 1.5.0-2 - Fix short flag for rpmautospec * Sun Jul 25 2021 Robert-André Mauchin - 1.5.0-1 - Update to version 1.5.0 * Thu Jul 22 2021 Fedora Release Engineering - 1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.4-3 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 09 11:44:37 CET 2020 Robert-André Mauchin - 1.4-1 - Update to 1.4 - Drop vendored copy of licensing module - Rework source fetching * Wed Sep 23 17:49:48 CEST 2020 Robert-André Mauchin - 1.2-1 - Update to 1.2 - Use fetch-reset to origin instead of git pull * Tue Sep 22 07:32:43 CEST 2020 Robert-André Mauchin - 1.1-1 - Update to 1.1 - Use heads[0] instead of heads.master to work with repo who use main or other branches as default (cf Github move: https://github.blog/2020-07-27-highlights-from-git-2-28/ ) * Mon Jul 27 2020 Fedora Release Engineering - 1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1-8 - Rebuilt for Python 3.9 * Tue Jan 28 2020 Fedora Release Engineering - 1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1-5 - Rebuilt for Python 3.8 * Sun Aug 04 22:04:10 CEST 2019 Robert-André Mauchin - 1-4 - Replace go-rpm-macros with compiler(go-compiler) * Thu Jul 25 2019 Fedora Release Engineering - 1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 20 22:04:32 CEST 2019 Robert-André Mauchin - 1-2 - Add go-rpm-macros require * Thu Jul 11 18:00:45 CEST 2019 Robert-André Mauchin - 1-1 - Initial package ## END: Generated by rpmautospec