From 3acd5cf26e6cef94ee3832720ce9564ebed77a4f Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Mon, 29 Jul 2024 16:22:15 -0300 Subject: [PATCH] Remove usage of %autopatch. Related: RHEL-34809 Signed-off-by: Rafael Guterres Jeffman --- python-jwcrypto.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-jwcrypto.spec b/python-jwcrypto.spec index 67105b0..19f90a4 100644 --- a/python-jwcrypto.spec +++ b/python-jwcrypto.spec @@ -16,14 +16,14 @@ Name: python-%{srcname} Version: 1.5.6 -Release: %autorelease +Release: 1 Summary: Implements JWK, JWS, JWE specifications using python-cryptography License: LGPLv3+ URL: https://github.com/latchset/%{srcname} Source0: https://github.com/latchset/%{srcname}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz -Patch1: 0001-ignore-deprecated-annotation.patch +Patch0001: 0001-ignore-deprecated-annotation.patch BuildArch: noarch %if 0%{?with_python2} @@ -69,7 +69,10 @@ Implements JWK, JWS, JWE specifications using python-cryptography %prep %setup -q -n %{srcname}-%{version} -%autopatch -p 1 +for p in %patches; do + %__patch -p1 -i $p +done + %build %if 0%{?with_python2}