%define pypi_name rope Summary: Python refactoring library Name: python-%{pypi_name} Version: 1.13.0 Release: 2 License: GPLv2 Group: Development/Python Url: https://github.com/python-rope/rope Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3dist(setuptools) BuildRequires: pkgconfig(python3) %description Rope is a Python refactoring library. You can use rope as a library in other IDEs. #---------------------------------------------------------------------------- %package -n python3-%{pypi_name} Summary: Python3 refactoring library Group: Development/Python Provides: %{pypi_name}-python3 = %{EVRD} %description -n python3-%{pypi_name} Rope is a Python refactoring library. You can use rope as a library in other IDEs. %files -n python3-%{pypi_name} %doc docs/* %license COPYING %{py3_puresitedir}/* #---------------------------------------------------------------------------- %prep %autosetup -p1 -n %{pypi_name}-%{version} %build %install %py3_install