[packages/python-cryptography] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 02:26:56 CEST 2025


commit 029c4c777a4706c3c39b1dca0f715f74d10f1fce
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 02:26:40 2025 +0200

    Fix applying patches.

 python-cryptography.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-cryptography.spec b/python-cryptography.spec
index b01cf2f..aecc152 100644
--- a/python-cryptography.spec
+++ b/python-cryptography.spec
@@ -134,8 +134,8 @@ Dokumentacja API modułu cryptography.
 
 %prep
 %setup -q -n cryptography-%{version} %{?with_tests:-a1}
-%patch0 -p1
-%patch2 -p1
+%patch -P0 -p1
+%patch -P2 -p1
 
 # Do not test legacy, disabled by default algorithms
 # See man OSSL_PROVIDER-legacy(7)
@@ -143,7 +143,7 @@ Dokumentacja API modułu cryptography.
 
 %if %{with tests}
 %{__mv} cryptography_vectors-%{version}/cryptography_vectors .
-%patch1 -p1
+%patch -P1 -p1
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cryptography.git/commitdiff/029c4c777a4706c3c39b1dca0f715f74d10f1fce



More information about the pld-cvs-commit mailing list