From 292a39931f775eebd073428651aa40ec9613c1e3579b7c838ac5b0a4ee793e32 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 7 Apr 2020 10:05:24 +0000 Subject: [PATCH] Add special Name for the test run OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-moonscript?expand=0&rev=6 --- lua-moonscript.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua-moonscript.spec b/lua-moonscript.spec index f16f4b6..4f26003 100644 --- a/lua-moonscript.spec +++ b/lua-moonscript.spec @@ -54,10 +54,12 @@ Obsoletes: lua-moonscript < %{version} Name: lua-moonscript ExclusiveArch: do_not_build %else +%if %{with test} +Name: %{flavor}-moonscript-test +BuildRequires: %{flavor}-busted +%else Name: %{flavor}-moonscript %endif -%if %{with test} -BuildRequires: %{flavor}-busted %endif %description