%global pkgvers 0 %global scdate0 20230106 %global schash0 cce76d2982209020d437f384b5f8421f5418e3a4 %global branch0 main %global source0 https://github.com/Farama-Foundation/gym-notices.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: gym-notices Version: 0.0.8 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} Summary: Notices for Gym for display on import on internet connected systems License: MIT BuildArch: noarch URL: https://gym.openai.com BuildRequires: git python3 python3-setuptools python3-rpm-macros %description Notices for Gym that may be displayed on import on internet connected systems, %package python3 Summary: %{summary} Provides: gym-notices %description python3 Notices for Gym that may be displayed on import on internet connected systems, %prep %setup -T -c -n %{name} git clone --depth 1 -n -b %{branch0} %{source0} . git fetch --depth 1 origin %{schash0} git reset --hard %{schash0} git log --format=fuller %build %py3_build %install %py3_install %files python3 %license LICENSE.txt %doc README.md %{python3_sitelib}/* %changelog * Thu Apr 14 2022 Cristian Balint - git update releases