[packages/firefox] switch to xpi prep method compatible with rpm >= 4.18
atler
atler at pld-linux.org
Thu Nov 28 13:34:25 CET 2024
commit 303178c6a495836c6f3693479b1b344c9b273169
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Nov 28 12:32:44 2024 +0100
switch to xpi prep method compatible with rpm >= 4.18
firefox.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/firefox.spec b/firefox.spec
index b93c46b..14085aa 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -2133,12 +2133,14 @@ m.in. nawigowanie po stronach WWW, wejście od użytkownika, wykonywanie
JavaScriptu.
%prep
-unpack() {
- local args="$1" file="$2"
- cp -p $file .
-}
-%define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 202 | xargs)
+%setup -q
+for s in %sources; do
+ case $s in
+ *.xpi)
+ cp -p $s .
+ ;;
+ esac
+done
%patch4 -p1
%patch5 -p1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/f67d123ced98993dd2c45a2e9925d4887a011faf
More information about the pld-cvs-commit
mailing list