From f86c02c60ebb3e87d5ecf62ed0456b20a6d983f4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 17 Sep 2021 07:44:47 +0200 Subject: [PATCH] spec: Add an empty %check section Add a comment where and how the package is being tested, to show that it's not simply a forgotten section. --- packaging/cockpit-starter-kit.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-starter-kit.spec.in index 244e2cb..1502e95 100644 --- a/packaging/cockpit-starter-kit.spec.in +++ b/packaging/cockpit-starter-kit.spec.in @@ -40,6 +40,10 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose +%check +# this can't be meaningfully tested during package build; tests happen through +# FMF (see plans/all.fmf) during package gating + %files %doc README.md %license LICENSE dist/index.js.LICENSE.txt.gz