Remove usage of %autopatch.
Related: RHEL-34809 Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
parent
939b470efa
commit
3acd5cf26e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user