From 305aca41de72e8ab6a36ed14b8f8c782f2ee0d0b Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 14 Jun 2023 11:12:32 -0400 Subject: [PATCH] Use non-deprecated syntax for the %patch macros Signed-off-by: David Cantrell --- pyparted.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pyparted.spec b/pyparted.spec index c38fa40..0eaaeb7 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -34,7 +34,7 @@ Summary: Python module for GNU parted Name: pyparted Epoch: 1 Version: 3.12.0 -Release: 9%{?dist} +Release: 10%{?dist} License: GPL-2.0-or-later URL: https://github.com/dcantrell/pyparted @@ -100,8 +100,8 @@ partition tables. This package provides Python 3 bindings for parted. gpg --no-default-keyring --keyring %{SOURCE2} --trustdb-name %{SOURCE3} --verify %{SOURCE1} %{SOURCE0} || exit 1 %setup -q -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %if %{with python3} everything=$(ls) @@ -159,6 +159,9 @@ popd %endif %changelog +* Wed Jun 14 2023 David Cantrell - 1:3.12.0-10 +- Use non-deprecated syntax for the %%patch macros + * Tue Jun 13 2023 Python Maint - 1:3.12.0-9 - Rebuilt for Python 3.12