File tela-fixes.patch of Package tela
diff -Naur a/src/libexec/mkplan.sh b/src/libexec/mkplan.sh
--- a/src/libexec/mkplan.sh 2026-01-12 16:06:23.000000000 +0100
+++ b/src/libexec/mkplan.sh 2026-02-20 15:07:50.763624540 +0100
@@ -28,7 +28,7 @@
LAST=
export IFS=-
-while read -r a b ; do
+while IFS=- read -r a b ; do
# Only consider lines containing test results
[[ "$a" =~ ^(ok|not ok) ]] || continue
@@ -52,9 +52,9 @@
echo -e "(rename to $BOLD$FILE.yaml$RESET to activate)"
fi
- echo "test:" >$FILENAME
- echo " plan:" >>$FILENAME
- echo " # Format is <testname>: \"<description>\"" >>$FILENAME
+ echo "test:" > "$FILENAME"
+ echo " plan:" >> "$FILENAME"
+ echo " # Format is <testname>: \"<description>\"" >> "$FILENAME"
fi
fi
echo " $TEST: \"\"" >>"$FILENAME"
diff -Naur a/src/libexec/resources/packages b/src/libexec/resources/packages
--- a/src/libexec/resources/packages 2026-01-12 16:06:23.000000000 +0100
+++ b/src/libexec/resources/packages 2026-02-20 13:47:37.321288012 +0100
@@ -24,6 +24,13 @@
# perl: 5.8
#
+
+function die() {
+ echo -n "${0##*/}: "
+ echo "$@" >&2
+ exit 1
+}
+
DATAFILE="$1"
# Compare versions a and b using comparison operator op (< > <= >= == !=).
@@ -126,7 +133,7 @@
# Determine package manager
check=
case "$TELA_OS_ID" in
- rhel|sles|fedora|linuxonzdriver)
+ rhel|sles|suse|fedora|linuxonzdriver)
check=check_rpm
;;
ubuntu|debian)