%global srcname edalize Name: python-%{srcname} Version: 0.1.7 Release: 1%{?dist} Summary: Library for interfacing EDA tools License: GPLv3 URL: https://github.com/olofk/edalize Source0: https://files.pythonhosted.org/packages/source/e/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %description Edalize is a library for interfacing EDA tools, primarily for FPGA development. %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} Edalize is a library for interfacing EDA tools, primarily for FPGA development. %prep %autosetup -n %{srcname}-%{version} %build %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %check #%{__python3} setup.py test %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/* %changelog * Fri Aug 23 2019 Dan HorĂ¡k - 0.1.6 - initial Fedora version