[packages/cage] use %patch -P

atler atler at pld-linux.org
Thu Feb 20 14:38:59 CET 2025


commit 65148a08f78230fdaf48c1cb94790d29b381e466
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 20 13:44:06 2025 +0100

    use %patch -P

 cage.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cage.spec b/cage.spec
index 2097bd7..79d1262 100644
--- a/cage.spec
+++ b/cage.spec
@@ -71,13 +71,13 @@ prevents the user from interacting with anything but this application.
 %prep
 %setup -q %{!?with_system_wlroots:-a1}
 
-%patch0 -p1
+%patch -P0 -p1
 
 %if %{without system_wlroots}
 %{__mkdir} subprojects
 %{__mv} wlroots-%{wlroots_ver} subprojects/wlroots
-%patch1 -p1 -d subprojects/wlroots
-%patch2 -p1 -d subprojects/wlroots
+%patch -P1 -p1 -d subprojects/wlroots
+%patch -P2 -p1 -d subprojects/wlroots
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cage.git/commitdiff/399378da2c5811c40dac3e5c58da55eaa880a134



More information about the pld-cvs-commit mailing list