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