From 282a7789c91ef91fcad12bd2c818972fd1c60deab0517eb6118156b8eb546eff Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 27 Jul 2024 08:56:26 +0000 Subject: [PATCH] - 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 --- python-py-radix.changes | 5 +++++ python-py-radix.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-py-radix.changes b/python-py-radix.changes index 800e198..6e35dd1 100644 --- a/python-py-radix.changes +++ b/python-py-radix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 26 13:36:59 UTC 2024 - Dominique Leuenberger + +- Use %autosetup: eliminates usage of deprecated %patchN syntax. + ------------------------------------------------------------------- Mon Jul 15 16:47:28 UTC 2024 - Sebastian Wagner diff --git a/python-py-radix.spec b/python-py-radix.spec index 19cd7a1..03d195c 100644 --- a/python-py-radix.spec +++ b/python-py-radix.spec @@ -44,8 +44,7 @@ containing networks. This package includes the C-extension. %prep -%setup -q -n py-radix-%{version} -%patch0 -p1 +%autosetup -p1 -n py-radix-%{version} %build export CFLAGS="%{optflags}"