17
0

9 Commits

Author SHA256 Message Date
afdc6e9eb7 Accepting request 1284644 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1284644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-radix?expand=0&rev=5
2025-06-11 14:26:00 +00:00
5d962247ee - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=13
2025-06-11 06:21:23 +00:00
5fabf6ed46 Accepting request 1189885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-radix?expand=0&rev=4
2024-07-28 15:19:44 +00:00
Sebastian Wagner
4cd93ef5bd Accepting request 1189794 from home:dimstar:Factory
- Use %autosetup: eliminates usage of deprecated %patchN syntax.

%patch0 is deprecated syntax and no longer supported on RPM 4.20

Either use %autosetup (apply all patches) or
use %patch -P N to selectively apply patches.

OBS-URL: https://build.opensuse.org/request/show/1189794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=11
2024-07-27 08:56:26 +00:00
6d2656f56a Accepting request 1189128 from devel:languages:python
- fix patch syntax for 15.6

OBS-URL: https://build.opensuse.org/request/show/1189128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-radix?expand=0&rev=3
2024-07-24 13:30:19 +00:00
Sebastian Wagner
f46e67fbd9 - fix patch syntax for 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=9
2024-07-22 19:57:13 +00:00
Sebastian Wagner
84d10b5357 fix patch syntax for 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=8
2024-07-15 16:47:40 +00:00
d4ac2f83a2 Accepting request 1181484 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-radix?expand=0&rev=2
2024-06-18 20:52:15 +00:00
Sebastian Wagner
34e00b7ccf Accepting request 1181471 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to fix build with GCC 14
  * https://github.com/mjschultz/py-radix/pull/58.patch
- Switch package to modern Python Stack on SLE-15
  + Use Python 3.11 on SLE-15 by default
  + Drop support for older Python versions

OBS-URL: https://build.opensuse.org/request/show/1181471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=6
2024-06-18 11:58:26 +00:00
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 11 05:54:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Fri Jul 26 13:36:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-py-radix
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -28,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/p/py-radix/py-rad
# PATCH-FIX-UPSTREAM - Change incompatible pointer type from RadixNodeObject to PyObject
Patch0: https://github.com/mjschultz/py-radix/pull/58.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -48,15 +50,16 @@ This package includes the C-extension.
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/*
%{python_sitearch}/radix
%{python_sitearch}/py_radix-%{version}.dist-info
%changelog