From c4176cf362cb434fa1767524fcbcf7205b20de6f Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 1 Oct 2022 08:11:27 +0200 Subject: [PATCH] - when only rel is different display - instead of . --- minus.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 minus.patch diff --git a/minus.patch b/minus.patch new file mode 100644 index 0000000..3f394cf --- /dev/null +++ b/minus.patch @@ -0,0 +1,12 @@ +diff -up poldek-0.42.2/ts_summary.c.rel poldek-0.42.2/ts_summary.c +--- poldek-0.42.2/ts_summary.c.rel ++++ poldek-0.42.2/ts_summary.c +@@ -202,7 +202,7 @@ + poldek_term_snprintf_c(old_color, old, sizeof(old), "%s", old_pkg->rel); + poldek_term_snprintf_c(new_color, new, sizeof(new), "%s", pkg->rel); + +- n = n_snprintf(line, size, "%s-%s.(%s => %s).%s", ++ n = n_snprintf(line, size, "%s-%s-(%s => %s).%s", + pkg->name, pkg->ver, old, new, arch); + + } else if (!eq_ver && !eq_rel) { -- 2.44.0