17
0

2 Commits

2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 26 12:17:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 23 14:03:17 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org> Thu Nov 23 14:03:17 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-distutils-extra # spec file for package python-distutils-extra
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distutils-extra Name: python-distutils-extra
Version: 3.0 Version: 3.0
Release: 0 Release: 0
@@ -25,7 +24,9 @@ License: GPL-2.0-only
Group: Development/Libraries/Python Group: Development/Libraries/Python
URL: https://salsa.debian.org/python-team/packages/python-distutils-extra URL: https://salsa.debian.org/python-team/packages/python-distutils-extra
Source: %{url}/-/archive/%{version}/python-distutils-extra-%{version}.tar.bz2 Source: %{url}/-/archive/%{version}/python-distutils-extra-%{version}.tar.bz2
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
@@ -44,15 +45,16 @@ This includes the following:
%setup -q %setup -q
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc debian/changelog doc/* %doc debian/changelog doc/*
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/DistUtilsExtra
%{python_sitelib}/python[-_]distutils[-_]extra-%{version}*-info
%changelog %changelog