%global pkgvers 0 %global scdate0 20260511 %global schash0 80006e8eb00b09371849397688f2604397386f73 %global branch0 master %global source0 https://github.com/litex-hub/pythondata-cpu-marocchino.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: litex-pythondata-cpu-marocchino Version: 2025.12 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} Summary: Non-Python files needed for the cpu marocchino License: BSD BuildArch: noarch URL: https://github.com/litex-hub/pythondata-cpu-marocchino BuildRequires: git python3-devel python3-setuptools Requires: %{name}-python3 = %{version}-%{release} %description Non-Python files needed for the cpu marocchino packaged into a Python module so they can be used with Python libraries and tools. %package python3 Summary: %{summary} Requires: litex-python3 Provides: pythondata-cpu-marocchino %description python3 Non-Python files needed for the cpu marocchino packaged into a Python module so they can be used with Python libraries and tools. %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 %doc README.md %license LICENSE %{python3_sitelib}/* %changelog * Sun Jan 23 2022 Cristian Balint - github update releases