[packages/coppermine-gallery] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 23:03:51 CEST 2025


commit bfdac98da00fa731fec17a9ab57e901df047b71a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 23:03:35 2025 +0200

    Fix applying patches.

 coppermine-gallery.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/coppermine-gallery.spec b/coppermine-gallery.spec
index 9ac4718..ba2d5a6 100644
--- a/coppermine-gallery.spec
+++ b/coppermine-gallery.spec
@@ -81,8 +81,8 @@ jako że pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 rm -f upgrade-1.0-to-1.2.php
 # undos the source
 find '(' -name '*.php' -o -name '*.css' -o -name '*.js' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/coppermine-gallery.git/commitdiff/bfdac98da00fa731fec17a9ab57e901df047b71a



More information about the pld-cvs-commit mailing list