make tests a with flag
This commit is contained in:
parent
15be74b1a1
commit
3f0db8b75d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user