# # spec file for package python-distutils-extra # # Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-distutils-extra Version: 3.0 Release: 0 Summary: Distutils/Setuptools Adapter License: GPL-2.0-only Group: Development/Libraries/Python URL: https://salsa.debian.org/python-team/packages/python-distutils-extra Source: %{url}/-/archive/%{version}/python-distutils-extra-%{version}.tar.bz2 BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools BuildArch: noarch %python_subpackages %description This package adds support for common build additions to distutils. This includes the following: * gettext/i18n * documentation * program icons %prep %setup -q %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc debian/changelog doc/* %license LICENSE %{python_sitelib}/DistUtilsExtra %{python_sitelib}/python[-_]distutils[-_]extra-%{version}*-info %changelog