%global pkgvers 0 %global scdate0 20240504 %global schash0 c270a66de59507ac0e0ace7fd79e91a1b9d1dbb2 %global branch0 master %global source0 https://github.com/RTimothyEdwards/qflow.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: qflow Version: 1.4.103 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} Summary: Verilog digital flow from OpenCircuitDesign License: GPLv2 URL: http://opencircuitdesign.com/qflow BuildRequires: make gcc-c++ tcl autoconf python3 git BuildRequires: python3-devel netgen opensta yosys abc opentimer magic Requires: netgen opensta yosys abc opentimer magic %if 0%{?rhel} == 8 %define __brp_mangle_shebangs /usr/bin/true %endif %description Qflow is the original verilog digital flow from OpenCircuitDesign reorganized. %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 %configure %make_build %install %make_install %files %doc README %{_bindir}/* %{_datadir}/* %changelog * Thu Aug 05 2021 Cristian Balint - github update releases