%global srcname distutils-extra Name: python-%{srcname} Version: 2.39 Release: 10 Summary: Integrate more support into Python's distutils License: GPLv2+ #Group: Development/Libraries URL: https://launchpad.net/python-distutils-extra Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description Enables you to easily integrate gettext support, themed icons and scrollkeeper based documentation into Python's distutils. %package -n python3-%{srcname} Summary: Integrate more support into Python's distutils Requires: intltool %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Enables you to easily integrate gettext support, themed icons and scrollkeeper based documentation into Python's distutils. %prep %autosetup -n %{name}-%{version} %build %py3_build %install %py3_install %files -n python3-%{srcname} %doc doc/* %license LICENSE %{python3_sitelib}/DistUtilsExtra/ %{python3_sitelib}/python_distutils_extra*.egg-info %changelog * Thu Feb 18 2021 weidong - 2.39-10 - Update source code - Fix source code error * Tue Jul 28 2020 Dillon Chen - 2.39-1 - Init package