From 0f6aa34a8978f9e0b505d7cb01145f20ef955329 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Mon, 8 Jul 2024 18:00:01 +0200 Subject: [PATCH] test: show RPM Spec differences on status check --- scripts/spec-gen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/spec-gen.sh b/scripts/spec-gen.sh index 086fdb51..ea041d93 100755 --- a/scripts/spec-gen.sh +++ b/scripts/spec-gen.sh @@ -127,6 +127,7 @@ gen_spec(){ if test "${2-}" = "test"; then if ! cmp -s "${target}" "${intended_target}"; then echo "error: ${intended_target} is not up to date" >&2 + diff --color=auto "${intended_target}" "${target}" || true fail=1 else if test -n "$(git diff --name-only "${intended_target}")"; then