[packages/cargo] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 22:55:14 CEST 2025


commit b78cd0040a271d9135c76507d53536dcbcf90a63
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 22:54:58 2025 +0200

    Fix applying patches.

 cargo.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cargo.spec b/cargo.spec
index be09fde..09cd119 100644
--- a/cargo.spec
+++ b/cargo.spec
@@ -101,11 +101,11 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
 %prep
 %setup -q -n %{name}-%{cargo_version} -a4
 %ifarch x32
-%patch0 -p1
+%patch -P0 -p1
 %endif
 
-%patch1 -p1
-%patch2 -p1
+%patch -P1 -p1
+%patch -P2 -p1
 
 %if %{with bootstrap}
 %ifarch %{x8664}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cargo.git/commitdiff/b78cd0040a271d9135c76507d53536dcbcf90a63



More information about the pld-cvs-commit mailing list