From 3f0db8b75d8e16004154c80f491f2fa0fde144a6 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Tue, 17 Aug 2021 16:29:27 -0400 Subject: [PATCH] make tests a with flag --- rpmlint.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpmlint.spec b/rpmlint.spec index e64500b..17f10a6 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -1,3 +1,5 @@ +%bcond_with tests + Name: rpmlint Version: 2.1.0 Release: 1%{?dist} @@ -51,7 +53,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/xdg/rpmlint/ cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/xdg/rpmlint/ %check +%if %{with tests} %pytest +%endif %files %license COPYING