[packages/thunderbird] switch to xpi prep method compatible with rpm >= 4.18
atler
atler at pld-linux.org
Thu Nov 28 17:38:03 CET 2024
commit efa049d21f8dcc76adef2301d96ee3c34a803d75
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Nov 28 12:43:53 2024 +0100
switch to xpi prep method compatible with rpm >= 4.18
thunderbird.spec | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index c869a1d..c880a3d 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -1342,12 +1342,15 @@ Traditional Chinese resources for Thunderbird.
Chińskie tradycyjne pliki językowe dla Thunderbirda.
%prep
-unpack() {
- local args="$1" file="$2"
- cp -p $file .
-}
-%define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 165 | xargs)
+%setup -q
+for s in %sources; do
+ case $s in
+ *.xpi)
+ cp -p $s .
+ ;;
+ esac
+done
+
%patch0 -p1
%patch2 -p0
%patch3 -p1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/9813a041dd2508cac250eb3172ebde70025ccd09
More information about the pld-cvs-commit
mailing list