%global pkgvers 0 %global scdate0 20241106 %global schash0 aba4a5fd560bb4d26b93eafd0c29386d2740e1a2 %global branch0 master %global source0 https://github.com/westerndigitalcorporation/pyvcd.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: pyvcd Summary: Python Value Change Dump (VCD) files Version: 0.4.0 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} License: BSD BuildArch: noarch URL: https://github.com/westerndigitalcorporation/pyvcd BuildRequires: git python3-devel python3-setuptools python3-setuptools_scm %description The PyVCD package writes Value Change Dump (VCD) files as specified in IEEE 1364-2005. %package python3 Summary: %{summary} Provides: %{name} %description python3 The PyVCD package writes Value Change Dump (VCD) files as specified in IEEE 1364-2005. %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.rst %doc docs %license LICENSE.txt %{python3_sitelib}/* %changelog * Sun Dec 05 2021 Cristian Balint - github usptream releases