14
0
2025-06-12 12:14:26 +00:00
committed by Git OBS Bridge
parent 0303bc8d74
commit 815f1fa1c6
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 12:14:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 1 16:43:28 UTC 2023 - Antonio Larrosa <alarrosa@suse.com> Fri Dec 1 16:43:28 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sortedcollections # spec file for package python-sortedcollections
# #
# 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
@@ -26,7 +26,9 @@ Group: Development/Languages/Python
URL: https://github.com/grantjenks/sortedcollections URL: https://github.com/grantjenks/sortedcollections
#Source: https://files.pythonhosted.org/packages/source/s/sortedcollections/sortedcollections-%%{version}.tar.gz #Source: https://files.pythonhosted.org/packages/source/s/sortedcollections/sortedcollections-%%{version}.tar.gz
Source: https://github.com/grantjenks/python-sortedcollections/archive/v%{version}.tar.gz Source: https://github.com/grantjenks/python-sortedcollections/archive/v%{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
Requires: python-sortedcontainers >= 2 Requires: python-sortedcontainers >= 2
@@ -56,10 +58,10 @@ Features
rm tox.ini rm tox.ini
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -68,6 +70,7 @@ rm tox.ini
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/sortedcollections
%{python_sitelib}/sortedcollections-%{version}*-info
%changelog %changelog