[packages/qcommandline] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:34:27 CEST 2025
commit f3eca41ac033947f458e85f388a183e0dab83fb8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:34:11 2025 +0200
Fix applying patches.
qcommandline.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/qcommandline.spec b/qcommandline.spec
index ca6d655..11efb84 100644
--- a/qcommandline.spec
+++ b/qcommandline.spec
@@ -69,17 +69,17 @@ Development files for building against %{name}.
%prep
%setup -q
-%patch0 -p1
-%patch101 -p1
-%patch102 -p1
-%patch103 -p1
+%patch -P0 -p1
+%patch -P101 -p1
+%patch -P102 -p1
+%patch -P103 -p1
%if %{with qt5}
set -- *
install -d qt5
cp -al "$@" qt5
cd qt5
-%patch1 -p1
+%patch -P1 -p1
# rename the library to libqcommandline-qt5 to distinguish it from the Qt4 build
echo "set_target_properties(qcommandline PROPERTIES OUTPUT_NAME qcommandline-qt5)" >>CMakeLists.txt
sed -i -e 's/-lqcommandline/-lqcommandline-qt5/' QCommandLine.pc.in
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qcommandline.git/commitdiff/f3eca41ac033947f458e85f388a183e0dab83fb8
More information about the pld-cvs-commit
mailing list