17
0

Compare commits

2 Commits

2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 6 12:48:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 1 20:10:10 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Jun 1 20:10:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-PyDispatcher # spec file for package python-PyDispatcher
# #
# 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-PyDispatcher Name: python-PyDispatcher
Version: 2.0.7 Version: 2.0.7
Release: 0 Release: 0
@@ -24,7 +23,9 @@ Summary: Multi-producer-multi-consumer signal dispatching mechanism
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/mcfletch/pydispatcher URL: https://github.com/mcfletch/pydispatcher
Source: https://files.pythonhosted.org/packages/source/P/PyDispatcher/PyDispatcher-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/P/PyDispatcher/PyDispatcher-%{version}.tar.gz
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
BuildArch: noarch BuildArch: noarch
@@ -45,14 +46,15 @@ to reference instance methods using weak-references.
%setup -q -n PyDispatcher-%{version} %setup -q -n PyDispatcher-%{version}
%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}
%license license.txt %license license.txt
%{python_sitelib}/* %{python_sitelib}/pydispatch
%{python_sitelib}/[Pp]y[Dd]ispatcher-%{version}*-info
%changelog %changelog