[projects/template-specs] - use patch -P, adjusted comments to actually disable patch call

qboosh qboosh at pld-linux.org
Thu Apr 24 20:49:14 CEST 2025


commit f0e941c6058872f86280d56dfdc4ceba546922b0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 24 20:38:06 2025 +0200

    - use patch -P, adjusted comments to actually disable patch call

 desktop.spec           | 2 +-
 gnome-icons.spec       | 2 +-
 horde.spec             | 2 +-
 lib.spec               | 2 +-
 monitoring-plugin.spec | 2 +-
 perl.spec              | 2 +-
 template.spec          | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/desktop.spec b/desktop.spec
index fedd53a..2a0dad6 100644
--- a/desktop.spec
+++ b/desktop.spec
@@ -19,7 +19,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %prep
 %setup -q
-#%patch0 -p1
+#patch -P0 -p1
 
 %build
 %configure
diff --git a/gnome-icons.spec b/gnome-icons.spec
index f5f986d..2fb8e5d 100644
--- a/gnome-icons.spec
+++ b/gnome-icons.spec
@@ -24,7 +24,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %prep
 %setup -q -n %{realname}
-#%patch0 -p1
+#patch -P0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/horde.spec b/horde.spec
index 7c30d28..a3b3022 100644
--- a/horde.spec
+++ b/horde.spec
@@ -51,7 +51,7 @@ Skeleton) można znaleźć na stronie <http://www.horde.org/>.
 
 %prep
 %setup -q -n %{hordeapp}-h3-%{version}
-%patch0 -p1
+%patch -P0 -p1
 
 rm {,*/}.htaccess
 for i in config/*.dist; do
diff --git a/lib.spec b/lib.spec
index 607e017..11528cb 100644
--- a/lib.spec
+++ b/lib.spec
@@ -101,7 +101,7 @@ Dokumentacja API biblioteki %{name}.
 
 %prep
 %setup -q
-#%patch0 -p1
+#patch -P0 -p1
 
 %build
 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
diff --git a/monitoring-plugin.spec b/monitoring-plugin.spec
index 173d677..f03da88 100644
--- a/monitoring-plugin.spec
+++ b/monitoring-plugin.spec
@@ -38,7 +38,7 @@ Wtyczka Monitoringa sprawdzająca ...
 %setup -q -n %{plugin}-%{version}
 %setup -qcT
 cp -p %{SOURCE0} %{plugin}
-#%patch0 -p1
+#patch -P0 -p1
 
 %{__sed} -i -e 's,/usr/local/nagios/perl/lib,%{plugindir},' %{plugin}.pl
 
diff --git a/perl.spec b/perl.spec
index 32b9c04..5e632bb 100644
--- a/perl.spec
+++ b/perl.spec
@@ -48,7 +48,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
+%patch -P0 -p1
 
 # fix #!/usr/bin/env perl -w -> #!/usr/bin/perl:
 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' tofu
diff --git a/template.spec b/template.spec
index 109c0b0..42f8479 100644
--- a/template.spec
+++ b/template.spec
@@ -115,7 +115,7 @@ Statyczna biblioteka %{name}.
 #%setup -q -c -T
 #%setup -q -n %{name}
 #%setup -q -n %{name}-%{version}.orig -a 1
-#%patch0 -p1
+#patch -P0 -p1
 
 # undos the source
 #find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/f0e941c6058872f86280d56dfdc4ceba546922b0



More information about the pld-cvs-commit mailing list