%global pkgvers 0 %global scdate0 20241122 %global schash0 ecaa7cbd54581a5e63979dd842eefb708432d241 %global branch0 master %global source0 https://github.com/scikit-rf/scikit-rf.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: scikit-rf Version: 1.4.1 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} Summary: RF and Microwave Engineering Scikit License: BSD BuildArch: noarch URL: http://scikit-rf.org BuildRequires: git make python3 python3-devel python3-setuptools BuildRequires: pyproject-rpm-macros python3-pip python3-wheel BuildRequires: python3-matplotlib python3-numpy python3-scipy %description RF/Microwave engineering implemented in the Python programming language. %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 %generate_buildrequires %build %pyproject_wheel %install %pyproject_install %files %doc doc apps %doc README.md %license LICENSE.txt %{python3_sitelib}/* %changelog * Sun Apr 07 2019 Balint Cristian - github update releases