[packages/lesspipe] - disable 7z tests that keep freezing

baggins baggins at pld-linux.org
Sat Dec 20 11:10:55 CET 2025


commit 2576c05f1a713ca42b39e1ae04e38dbaae48b8a0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 20 13:10:39 2025 +0100

    - disable 7z tests that keep freezing

 lesspipe.spec     |  2 ++
 no-7z-tests.patch | 17 +++++++++++++++++
 2 files changed, 19 insertions(+)
---
diff --git a/lesspipe.spec b/lesspipe.spec
index 9830e2f..af88184 100644
--- a/lesspipe.spec
+++ b/lesspipe.spec
@@ -13,6 +13,7 @@ Group:		Applications/Text
 Source0:	https://github.com/wofr06/lesspipe/archive/refs/tags/v%{version}.tar.gz
 # Source0-md5:	f0619d594621a27ed84c4136f14d412f
 Patch0:		%{name}-completionsdir.patch
+Patch1:		no-7z-tests.patch
 URL:		https://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
 BuildRequires:	perl-base
 BuildRequires:	rpmbuild(macros) >= 1.719
@@ -49,6 +50,7 @@ różnych archiwów w sposób czytelny dla człowieka.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
       archive_color \
diff --git a/no-7z-tests.patch b/no-7z-tests.patch
new file mode 100644
index 0000000..15bfc3e
--- /dev/null
+++ b/no-7z-tests.patch
@@ -0,0 +1,17 @@
+--- lesspipe-2.18/test.pl~	2025-02-16 21:25:26.000000000 +0100
++++ lesspipe-2.18/test.pl	2025-12-20 13:08:33.329983041 +0100
+@@ -287,14 +287,6 @@
+ = test
+ 33 less tests/archive.tgz:test_cab:a\ text.gz	# (on the fly), needs cabextract
+ = test
+-34 less $T/tests/test_7z			# 7z contents, needs 7zz|7zr|7za
+-~ .* testok/aaa.txt
+-35 less tests/archive.tgz:test_7z		# (on the fly), needs 7zz|7zr|7za
+-~ .* testok/aaa.txt
+-36 less $T/tests/test_7z:testok/a\|b.txt	# extract file from 7z, needs 7zz|7zr|7za
+-= test
+-37 less tests/archive.tgz:test_7z:testok/a\|b.txt	# (on the fly), needs 7zz|7zr|7za
+-= test
+ 38 less $T/tests/test_iso			# iso9660 contents, needs bsdtar|isoinfo
+ ~ .* ISO.TXT|/ISO.TXT;1
+ 39 less tests/archive.tgz:test_iso		# (on the fly), needs bsdtar|isoinfo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lesspipe.git/commitdiff/2576c05f1a713ca42b39e1ae04e38dbaae48b8a0



More information about the pld-cvs-commit mailing list