14
0

7 Commits

Author SHA256 Message Date
4b406fd261 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
282a7789c9 - 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/package/show/devel:languages:python/python-py-radix?expand=0&rev=11
2024-07-27 08:56:26 +00:00
e53db2849c 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
9efb87c6f5 - 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
f1ce748c49 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
6df98702fb 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
66bc32e567 - 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/package/show/devel:languages:python/python-py-radix?expand=0&rev=6
2024-06-18 11:58:26 +00:00
2 changed files with 4 additions and 13 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
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) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,9 +28,7 @@ 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
@@ -50,16 +48,15 @@ This package includes the C-extension.
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/radix
%{python_sitearch}/py_radix-%{version}.dist-info
%{python_sitearch}/*
%changelog